diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-11-06 17:20:48 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-11-06 17:20:48 +0200 |
commit | 2edd7f078b10a6d6142f2edcb21d6fc078ce5751 (patch) | |
tree | cb5cce5e36eb9ef49f827cd129187b7156a30e6f /Makefile | |
parent | Windows icon fix and change the installer to QT Installer Framework on Window... (diff) | |
download | nheko-2edd7f078b10a6d6142f2edcb21d6fc078ce5751.tar.xz |
Update ci
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/Makefile b/Makefile index a7565ee5..cb0e6d1b 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,4 @@ -APP_NAME = nheko -MAC_DIST_DIR = dist/MacOS -APP_TEMPLATE = $(MAC_DIST_DIR)/Nheko.app - -# Linux specific helpers debug: @cmake -DBUILD_TESTS=OFF -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug @cmake --build build @@ -20,19 +15,11 @@ test: linux-appimage: @./.ci/linux/deploy.sh -app: release-debug $(APP_TEMPLATE) - @cp -fp ./build/$(APP_NAME) $(APP_TEMPLATE)/Contents/MacOS - @echo "Created '$(APP_NAME).app' in '$(APP_TEMPLATE)'" - -app-install: app - cp -Rf $(APP_TEMPLATE) /Applications/ +macos-app: release-debug + @./.ci/macos/deploy.sh -dmg: app - hdiutil create $(MAC_DIST_DIR)/Nheko.dmg \ - -volname "$(APP_NAME)" \ - -fs HFS+ \ - -srcfolder $(MAC_DIST_DIR) \ - -ov -format UDZO +macos-app-install: + cp -Rf build/nheko.app /Applications run: @./build/nheko |