add lint and pyinstaller targets
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,3 +1,16 @@
|
|||||||
venv:
|
venv:
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
sh -c '. venv/bin/activate; pip install -e .'
|
sh -c '. venv/bin/activate; pip install -e .'
|
||||||
|
|
||||||
|
lint:
|
||||||
|
sh -c '. venv/bin/activate; pip install pylint'
|
||||||
|
sh -c '. venv/bin/activate; pylint tge'
|
||||||
|
|
||||||
|
dist: venv lint
|
||||||
|
sh -c '. venv/bin/activate; pip install pyinstaller'
|
||||||
|
sh -c '. venv/bin/activate; pyinstaller __main__.py --onefile --name tge'
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf dist
|
||||||
|
rm -rf build
|
||||||
|
rm *.spec
|
||||||
|
Reference in New Issue
Block a user