Add makefile.
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
venv:
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
./venv/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
|
cli:
|
||||||
|
./venv/bin/python3 solderPacker.py
|
||||||
|
|
||||||
|
gui:
|
||||||
|
./venv/bin/python3 solderPackerGUI.py
|
||||||
|
|
||||||
|
build-cli:
|
||||||
|
source venv/bin/activate && pyinstaller --onefile --icon=wrenchIcon.ico solderPacker.py
|
||||||
|
|
||||||
|
build-gui:
|
||||||
|
source venv/bin/activate && pyinstaller --windowed --onefile --icon=wrenchIcon.ico solderPackerGUI.py
|
||||||
|
|
||||||
|
clean:
|
||||||
|
- rm -r venv
|
||||||
|
- rm -r dist
|
||||||
|
- rm -r build
|
||||||
Reference in New Issue
Block a user