-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
21 lines (20 loc) · 1.45 KB
/
makefile
File metadata and controls
21 lines (20 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version = $(shell git describe --tags)
build-pyinstaller: refresh-version
@echo "build using using pyinstaller"
pyinstaller .\gui.py --version-file exeVersionInfo.txt --windowed --noconfirm --name "jira-flow" --add-data "jira.ico;." --add-data ".env;." --add-data ".\TemplatePayload.json;." --add-data ".\help.txt;." --add-data ".venv\Lib\site-packages\tkinterdnd2;." --hiddenimport win32timezone --icon .\jira.ico --collect-all tkinterdnd2
@echo "to make an installer run make installer, this will generate a setup.exe in the directory Output"
@echo "to make a zip run make zip"
build-pyinstaller-debug: refresh-version
@echo "build using using pyinstaller"
pyinstaller .\gui.py --version-file exeVersionInfo.txt --noconfirm --name "jira-flow" --add-data "jira.ico;." --add-data ".env;." --add-data ".\TemplatePayload.json;." --add-data ".\help.txt;." --add-data ".venv\Lib\site-packages\tkinterdnd2;." --hiddenimport win32timezone --icon .\jira.ico --collect-all tkinterdnd2
@echo "to make an installer run make installer, this will generate a setup.exe in the directory Output"
@echo "to make a zip run make zip"
zip:
powershell Compress-Archive -Force -Path .\dist\ -DestinationPath .\releases\Jira-Bridge-$(version).zip
installer: build-pyinstaller
iscc /dMyAppVersion=$(version) .\setup-generator.iss
installer-debug: build-pyinstaller-debug
@echo "run iscc with debug enabled"
iscc /dMyAppVersion=$(version) .\setup-generator.iss
refresh-version:
python deploy.py