-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmakefile
60 lines (42 loc) · 1.19 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
58
59
60
.PHONY: install uninstall reinstall test clean bsp2svg bsp2wad image2spr pak qmount spr2image unpak unwad wad
install:
pip install .
uninstall:
pip uninstall quake-cli-tools -y
reinstall: uninstall install
publish:
python setup.py sdist
twine upload dist/*
publish-test:
python setup.py sdist
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
package:
python package.py
build: bsp2svg bsp2wad image2spr pak qmount spr2image unpak unwad wad
bsp2svg:
pyinstaller --name=bsp2svg ./qcli/bsp2svg/cli.py
bsp2wad:
pyinstaller --name=bsp2wad ./qcli/bsp2wad/cli.py
image2spr:
pyinstaller --name=image2spr ./qcli/image2spr/cli.py --exclude=numpy
pak:
pyinstaller --name=pak ./qcli/pak/cli.py
qmount:
pyinstaller --name=qmount ./qcli/qmount/cli.py
spr2image:
pyinstaller --name=spr2image ./qcli/spr2image/cli.py --exclude=numpy
unpak:
pyinstaller --name=unpak ./qcli/unpak/cli.py
unwad:
pyinstaller --name=unwad ./qcli/unwad/cli.py --exclude=numpy
wad:
pyinstaller --name=wad ./qcli/wad/cli.py --exclude=numpy
test:
python -m unittest discover -s tests
clean:
find . -name "*.pyc" -delete
rm -rf build
rm -rf dist
rm -rf *.egg-info
rm -rf *.spec
rm -rf *.zip