forked from lutris/lutris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
57 lines (43 loc) · 1.23 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
.PHONY: snap
VERSION=`grep "__version__" lutris/__init__.py | cut -d" " -f 3 | sed 's|"\(.*\)"|\1|'`
cover:
rm tests/fixtures/pga.db -f
rm tests/coverage/ -rf
nosetests --with-coverage --cover-package=lutris --cover-html --cover-html-dir=tests/coverage
test:
rm tests/fixtures/pga.db -f
nosetests
flake8 lutris
deb-source: clean
gbp buildpackage -S --git-debian-branch=${GITBRANCH}
mkdir -p build
mv ../lutris_0* build
deb: clean
gbp buildpackage --git-debian-branch=${GITBRANCH}
mkdir -p build
mv ../lutris_0* build
changelog-add:
EDITOR=vim dch -i
changelog-edit:
EDITOR=vim dch -e
clean:
rm -rf build
debclean
build-all: deb
upload:
scp build/lutris_${VERSION}.tar.xz lutris.net:/srv/releases/
pgp-renew:
osc signkey --extend home:strycore
osc rebuildpac home:strycore --all
winetricks:
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O share/lutris/bin/winetricks
snap:
snapcraft clean lutris -s pull
snapcraft
upload-ppa:
dput ppa:lutris-team/lutris build/lutris_${VERSION}*_source.changes
upload-staging:
gbp buildpackage -S --git-debian-branch=master
mkdir -p build
mv ../lutris_0* build
dput --force ppa:lutris-team/lutris-staging build/lutris_${VERSION}*_source.changes