Files
hub/Makefile
T

18 lines
389 B
Makefile

VENV_DIR := .venv
default: install web
venv: $(VENV_DIR)
$(VENV_DIR):
python3 -m venv $@
install: venv
@$(VENV_DIR)/bin/pip install -r backend/requirements.txt
web: frontend/build/web/index.html
frontend/build/web/index.html:
cd frontend && flutter build web --release --source-maps --no-web-resources-cdn
frontend/build/web/index.html: $(shell find frontend/lib -name '*.dart')