From 90f3e76c88f1dc03aebb942d7280a9e3031dad41 Mon Sep 17 00:00:00 2001 From: Leon Richardt Date: Sun, 22 Sep 2019 00:03:30 +0200 Subject: [PATCH 1/2] Trying to fix macOS builds I have no idea whether this works and this is the only way to find out. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6387df0a..cb0a8c31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,9 @@ matrix: script: - mkdir build && cd build - 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 - mkdir app - hdiutil attach chatterino.dmg From 5e41328f1b0a2f62bf1077abbfbcefe54d4614bc Mon Sep 17 00:00:00 2001 From: Leon Richardt Date: Sun, 22 Sep 2019 00:11:07 +0200 Subject: [PATCH 2/2] Some more trial-and-error --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cb0a8c31..5e6041b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,7 +65,7 @@ matrix: - mkdir build && cd build - dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\"" - /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild - - sed -i 's/-framework\\\ /-framework /g' Makefile + - sed -ie 's/-framework\\\ /-framework /g' Makefile - make -j8 - /usr/local/opt/qt/bin/macdeployqt chatterino.app -dmg - mkdir app