lutris/Makefile
2020-01-05 16:00:25 -08:00

46 lines
871 B
Makefile

VERSION=`grep "__version__" lutris/__init__.py | cut -d" " -f 3 | sed 's|"\(.*\)"|\1|'`
all:
export GITBRANCH=master
debuild
debclean
build:
gbp buildpackage --git-debian-branch=${GITBRANCH}
clean:
debclean
test:
rm tests/fixtures/pga.db -f
nosetests
flake8 lutris
cover:
rm tests/fixtures/pga.db -f
rm tests/coverage/ -rf
nosetests --with-coverage --cover-package=lutris --cover-html --cover-html-dir=tests/coverage
pgp-renew:
osc signkey --extend home:strycore
osc rebuildpac home:strycore --all
changelog-add:
dch -i
changelog-edit:
dch -e
upload:
scp build/lutris_${VERSION}.tar.xz lutris.net:/srv/releases/
upload-ppa:
dput ppa:lutris-team/lutris build/lutris_${VERSION}*_source.changes
upload-staging:
dput --force ppa:lutris-team/lutris-staging build/lutris_${VERSION}*_source.changes
snap:
snapcraft clean lutris -s pull
snapcraft