feat: add makefile
- add venv, deps, build and clean targets - updated gitignore
This commit is contained in:
parent
105d43129e
commit
fecdfa163c
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
.venv
|
||||
config.yaml
|
||||
dist
|
||||
build
|
||||
*.spec
|
||||
|
||||
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
venv:
|
||||
uv venv --python 3.11
|
||||
|
||||
deps: venv
|
||||
source .venv/bin/activate && \
|
||||
uv pip install -r requirements.txt
|
||||
|
||||
build: deps
|
||||
source .venv/bin/activate && \
|
||||
uv pip install pyinstaller && \
|
||||
.venv/bin/pyinstaller --onefile puppetapi.py --distpath ./dist --workpath ./build
|
||||
|
||||
clean:
|
||||
rm -rf ./dist ./build
|
||||
rm -f ./*.spec
|
||||
Loading…
Reference in New Issue
Block a user