mirror of
https://github.com/lutris/lutris
synced 2024-07-08 19:45:47 +00:00
Makefile changes
- Default target always builds the master branch and cleans afterwards. - Update clean target to use to debian/clean file. - Remove editor variable as it should be done system-wide. - Various other changes. Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
parent
a178b893cb
commit
9efd539a57
63
Makefile
63
Makefile
|
@ -1,57 +1,48 @@
|
|||
.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
|
||||
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
|
||||
|
||||
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/
|
||||
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
|
||||
|
||||
winetricks:
|
||||
update-winetricks:
|
||||
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O share/lutris/bin/winetricks
|
||||
|
||||
snap:
|
||||
snapcraft clean lutris -s pull
|
||||
snapcraft
|
||||
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:
|
||||
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
|
||||
|
||||
snap:
|
||||
snapcraft clean lutris -s pull
|
||||
snapcraft
|
||||
|
|
Loading…
Reference in New Issue
Block a user