forked from lutris/lutris
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
45 lines (33 loc) · 871 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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