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 | |
parent | Windows icon fix and change the installer to QT Installer Framework on Window... (diff) | |
download | nheko-2edd7f078b10a6d6142f2edcb21d6fc078ce5751.tar.xz |
Update ci
-rwxr-xr-x | .ci/macos/deploy.sh | 8 | ||||
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Makefile | 21 | ||||
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | dist/MacOS/nheko.app/Contents/Info.plist | 33 | ||||
-rw-r--r-- | dist/MacOS/nheko.app/Contents/MacOS/.gitkeep | 0 | ||||
-rw-r--r-- | dist/MacOS/nheko.app/Contents/Resources/nheko.icns | bin | 118837 -> 0 bytes |
7 files changed, 9 insertions, 57 deletions
diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index 7e551e9d..76346d47 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -5,9 +5,7 @@ set -e # Add Qt binaries to path PATH=/usr/local/opt/qt/bin/:${PATH} -cp -fp ./build/nheko dist/MacOS/Nheko.app/Contents/MacOS - -sudo macdeployqt dist/MacOS/Nheko.app -dmg +sudo macdeployqt build/nheko.app -dmg user=$(id -nu) -sudo chown ${user} dist/MacOS/Nheko.dmg -mv dist/MacOS/Nheko.dmg . +sudo chown ${user} build/nheko.dmg +mv build/nheko.dmg . diff --git a/.travis.yml b/.travis.yml index 22e28c7f..78d7ee73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,7 +46,7 @@ deploy: provider: releases api_key: secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU= - file: Nheko.dmg + file: nheko.dmg on: condition: $TRAVIS_OS_NAME == osx repo: mujx/nheko 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 diff --git a/appveyor.yml b/appveyor.yml index 31a1df7f..7c832a5e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -97,7 +97,7 @@ deploy: provider: GitHub auth_token: secure: YqB7hcM+4482eSHhtVR7ZA7N7lE78y8BC897/7UDTBQd+NWdWFW/6S+oKDie9TT7 - artifact: nheko_setup.exe + artifact: .\%DIST%-installer.exe force_update: true prerelease: true on: diff --git a/dist/MacOS/nheko.app/Contents/Info.plist b/dist/MacOS/nheko.app/Contents/Info.plist deleted file mode 100644 index 59a123b1..00000000 --- a/dist/MacOS/nheko.app/Contents/Info.plist +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" -"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> - <dict> - <key>CFBundleDisplayName</key> - <string>Nheko</string> - <key>CFBundleExecutable</key> - <string>nheko</string> - <key>CFBundleIdentifier</key> - <string>nheko</string> - <key>CFBundleName</key> - <string>Nheko</string> - <key>CFBundleIconFile</key> - <string>nheko.icns</string> - <key>CFBundleShortVersionString</key> - <string>0.1.0</string> - <key>CFBundleVersion</key> - <string>0.1.0</string> - <key>CFBundleDevelopmentRegion</key> - <string>en</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>NSHighResolutionCapable</key> - <true /> - <key>NSMainNibFile</key> - <string></string> - <key>NSSupportsAutomaticGraphicsSwitching</key> - <true /> - </dict> -</plist> diff --git a/dist/MacOS/nheko.app/Contents/MacOS/.gitkeep b/dist/MacOS/nheko.app/Contents/MacOS/.gitkeep deleted file mode 100644 index e69de29b..00000000 --- a/dist/MacOS/nheko.app/Contents/MacOS/.gitkeep +++ /dev/null diff --git a/dist/MacOS/nheko.app/Contents/Resources/nheko.icns b/dist/MacOS/nheko.app/Contents/Resources/nheko.icns deleted file mode 100644 index ecb66b6f..00000000 --- a/dist/MacOS/nheko.app/Contents/Resources/nheko.icns +++ /dev/null Binary files differ |