Trying to fix macOS builds

I have no idea whether this works and this is the only way to find out.
This commit is contained in:
Leon Richardt 2019-09-22 00:03:30 +02:00
parent 5871414e6b
commit 90f3e76c88

View file

@ -64,7 +64,9 @@ matrix:
script: script:
- mkdir build && cd build - mkdir build && cd build
- dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\"" - dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\""
- /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild && make -j8 - /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild
- sed -i 's/-framework\\\ /-framework /g' Makefile
- make -j8
- /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg - /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg
- mkdir app - mkdir app
- hdiutil attach chatterino.dmg - hdiutil attach chatterino.dmg