From 1db0d315b89f9efde91a89e6ce61e5267599ed27 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Thu, 15 Dec 2016 23:49:42 -0600 Subject: [PATCH] add lint and pyinstaller targets --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 63b13f5..cc64b00 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,16 @@ venv: python3 -m venv venv 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