changed line endings in shell scripts

This commit is contained in:
itsmattkc
2019-02-10 13:00:56 -08:00
parent 7f78f544f0
commit 7db1fe7165
3 changed files with 52 additions and 52 deletions
+30 -30
View File
@@ -1,30 +1,30 @@
#!/bin/bash
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
lrelease olive.pro
qmake CONFIG+=release PREFIX=/usr
make -j$(nproc)
macdeployqt Olive.app
zip -r Olive-$(git rev-parse --short HEAD)-macOS.zip Olive.app
elif [[ $TRAVIS_OS_NAME == 'linux' ]]; then
lrelease olive.pro
if [ "$ARCH" == "i386" ]; then
qmake CONFIG+=release "QMAKE_CFLAGS+=-m32" "QMAKE_CXXFLAGS+=-m32" "QMAKE_LFLAGS+=-m32" PREFIX=/usr -spec linux-g++-32; fi
else
qmake CONFIG+=release PREFIX=/usr
fi
make -j$(nproc)
make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
if [ "$ARCH" == "i386" ]; then
rm Olive*.AppImage
wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-i686.AppImage"
chmod a+x appimagetool-i686.AppImage
./appimagetool-i686.AppImage 'appdir' -n -g
fi
fi
#!/bin/bash
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
lrelease olive.pro
qmake CONFIG+=release PREFIX=/usr
make -j$(nproc)
macdeployqt Olive.app
zip -r Olive-$(git rev-parse --short HEAD)-macOS.zip Olive.app
elif [[ $TRAVIS_OS_NAME == 'linux' ]]; then
lrelease olive.pro
if [ "$ARCH" == "i386" ]; then
qmake CONFIG+=release "QMAKE_CFLAGS+=-m32" "QMAKE_CXXFLAGS+=-m32" "QMAKE_LFLAGS+=-m32" PREFIX=/usr -spec linux-g++-32; fi
else
qmake CONFIG+=release PREFIX=/usr
fi
make -j$(nproc)
make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
export VERSION=$(git rev-parse --short HEAD) # linuxdeployqt uses this for naming the file
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
if [ "$ARCH" == "i386" ]; then
rm Olive*.AppImage
wget -c -nv "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-i686.AppImage"
chmod a+x appimagetool-i686.AppImage
./appimagetool-i686.AppImage 'appdir' -n -g
fi
fi