Ajoute un makefile

This commit is contained in:
2025-06-04 19:32:59 +02:00
parent 3c9c948fe2
commit 3bcb47769a

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
.PHONY: build install-tools install-dep init clean
init: install-dep install-tools
build:
@uvx pyinstaller --hidden-import=yaml --hidden-import=yaml.loader --paths=.venv/lib/python3.13/site-packages/ --onefile ./main.py
install-tools:
@uv tool install flake8
@uv tool install black
@uv tool install pyinstaller
install-dep:
@uv sync
clean:
@rm -r ./dist ./build