lutris/Makefile

54 lines
1 KiB
Makefile
Raw Normal View History

VERSION=`grep "__version__" lutris/__init__.py | cut -d" " -f 3 | sed 's|"\(.*\)"|\1|'`
GITBRANCH ?= master
2014-02-08 18:21:00 +00:00
all:
export GITBRANCH=master
debuild
debclean
2013-06-26 10:11:21 +00:00
build:
2018-07-29 22:01:51 +00:00
gbp buildpackage --git-debian-branch=${GITBRANCH}
2013-06-26 12:17:43 +00:00
clean:
debclean
2013-06-29 16:49:29 +00:00
build-source: clean
gbp buildpackage -S --git-debian-branch=${GITBRANCH}
mkdir build
mv ../lutris_${VERSION}* build
release: build-source upload upload-ppa
test:
rm tests/fixtures/pga.db -f
2020-04-24 23:29:24 +00:00
nosetests3
flake8 lutris
2013-06-29 16:49:29 +00:00
cover:
rm tests/fixtures/pga.db -f
rm tests/coverage/ -rf
2020-04-24 23:29:24 +00:00
nosetests3 --with-coverage --cover-package=lutris --cover-html --cover-html-dir=tests/coverage
2017-01-14 19:45:59 +00:00
pgp-renew:
osc signkey --extend home:strycore
osc rebuildpac home:strycore --all
2017-03-24 22:35:51 +00:00
changelog-add:
dch -i
changelog-edit:
dch -e
upload:
scp build/lutris_${VERSION}.tar.xz lutris.net:/srv/releases/
2019-04-04 10:22:52 +00:00
upload-ppa:
dput ppa:lutris-team/lutris build/lutris_${VERSION}*_source.changes
2019-04-04 10:42:30 +00:00
upload-staging:
dput --force ppa:lutris-team/lutris-staging build/lutris_${VERSION}*_source.changes
snap:
snapcraft clean lutris -s pull
snapcraft