lutris/Makefile

44 lines
922 B
Makefile
Raw Normal View History

VERSION=`grep "__version__" lutris/__init__.py | cut -d" " -f 3 | sed 's|"\(.*\)"|\1|'`
2014-02-08 18:21:00 +00:00
2014-08-13 08:25:30 +00:00
cover:
2013-04-16 20:47:04 +00:00
rm tests/fixtures/pga.db -f
rm tests/coverage/ -rf
2018-05-08 07:15:03 +00:00
nosetests --with-coverage --cover-package=lutris --cover-html --cover-html-dir=tests/coverage
2013-06-26 10:11:21 +00:00
2014-08-13 08:25:30 +00:00
test:
rm tests/fixtures/pga.db -f
2018-05-08 07:15:03 +00:00
nosetests
2018-12-22 07:32:52 +00:00
flake8 lutris
2014-08-13 08:25:30 +00:00
2016-01-05 16:54:37 +00:00
deb-source: clean
2018-07-29 22:01:51 +00:00
gbp buildpackage -S --git-debian-branch=${GITBRANCH}
2015-12-11 23:43:00 +00:00
mkdir -p build
mv ../lutris_0* build
2013-06-26 10:11:21 +00:00
2016-01-05 16:54:37 +00:00
deb: clean
2018-07-29 22:01:51 +00:00
gbp buildpackage --git-debian-branch=${GITBRANCH}
2015-12-11 23:43:00 +00:00
mkdir -p build
2013-06-29 16:21:37 +00:00
mv ../lutris_0* build
2013-06-26 10:11:21 +00:00
changelog-add:
EDITOR=vim dch -i
2013-06-26 10:11:21 +00:00
changelog-edit:
EDITOR=vim dch -e
2013-06-26 12:17:43 +00:00
clean:
2014-11-12 23:06:14 +00:00
rm -rf build
2013-06-26 12:17:43 +00:00
debclean
2013-06-29 16:49:29 +00:00
build-all: deb
2013-06-29 16:49:29 +00:00
upload:
scp build/lutris_${VERSION}.tar.xz lutris.net:/srv/releases/
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
winetricks:
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O share/lutris/bin/winetricks