mirror of https://github.com/borgbase/vorta
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
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.4.zip Vorta.app
|
|
rm -rf dist/vorta-0.4.4.dmg
|
|
sleep 2; appdmg appdmg.json dist/vorta-0.4.4.dmg
|
|
|
|
github-release: Vorta.dmg
|
|
pytest
|
|
hub release create --prerelease --attach=dist/vorta-0.4.4.dmg v0.4.4
|
|
git checkout gh-pages
|
|
git commit -m 'rebuild pages' --allow-empty
|
|
git push origin gh-pages
|
|
git checkout master
|
|
|
|
pypi-release:
|
|
pytest
|
|
python setup.py sdist
|
|
twine upload dist/vorta-0.4.4.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
|