mirror of https://github.com/borgbase/vorta
30 lines
954 B
Makefile
30 lines
954 B
Makefile
|
|
Vorta.app:
|
|
#pyrcc5 -o src/vorta/views/collection_rc.py src/vorta/assets/icons/collection.qrc
|
|
pyinstaller --clean --noconfirm vorta.spec
|
|
cp -R bin/macosx64/Sparkle.framework dist/Vorta.app/Contents/Frameworks/
|
|
cd dist; codesign --deep --sign 'Developer ID Application: Manuel Riel (CNMSCAXT48)' Vorta.app
|
|
|
|
Vorta.dmg: Vorta.app
|
|
# sleep 2; cd dist; zip -9rq vorta-0.4.1.zip Vorta.app
|
|
rm -rf dist/vorta-0.4.1.dmg
|
|
sleep 2; appdmg appdmg.json dist/vorta-0.4.1.dmg
|
|
|
|
github-release: Vorta.dmg
|
|
pytest
|
|
hub release create --prerelease --attach=dist/vorta-0.4.1.dmg v0.4.1
|
|
|
|
pypi-release:
|
|
pytest
|
|
python setup.py sdist
|
|
twine upload dist/vorta-0.4.1.tar.gz
|
|
|
|
travis-debug:
|
|
curl -s -X POST \
|
|
-H "Content-Type: application/json" \
|
|
-H "Accept: application/json" \
|
|
-H "Travis-API-Version: 3" \
|
|
-H "Authorization: token ${TRAVIS_TOKEN}" \
|
|
-d '{ "quiet": true }' \
|
|
https://api.travis-ci.org/job/${TRAVIS_JOB_ID}/debug
|