add presentation base
This commit is contained in:
27
Makefile
Normal file
27
Makefile
Normal 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 $@ $^
|
Reference in New Issue
Block a user