add presentation base

This commit is contained in:
2025-05-02 22:05:45 +02:00
parent c074d4ee5c
commit 0f7ff2c3e9
12 changed files with 152 additions and 10 deletions

27
Makefile Normal file
View File

@@ -0,0 +1,27 @@
.PHONY: default
default: run
include client/make.mk
.PHONY: run
run: $(CLIENT_TARGETS) venv
source venv/bin/activate && python main.py
.PHONY: build
build: $(CLIENT_TARGETS)
.PHONY: pack
pack: pythagoras.tar.xz
.PHONY: clean
clean: client_clean
rm -rf __pycache__
rm -rf venv
rm -f pythagoras.tar.xz
venv:
python -m venv venv
source venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt
pythagoras.tar.xz: main.py $(CLIENT_TARGETS)
tar --transform='s|^|pythagoras/|' -Jcvf $@ $^