From 3bcb47769af84d4d896f4793d4230890fe4880a0 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Wed, 4 Jun 2025 19:32:59 +0200 Subject: [PATCH] Ajoute un makefile --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5b4705c --- /dev/null +++ b/Makefile @@ -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