Makefile für die gängigen Kommandos

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
team3
2026-07-23 00:43:19 +02:00
parent 4cae436231
commit a7c0798d4b

37
Makefile Normal file
View File

@@ -0,0 +1,37 @@
BACKEND = cd backend && uv run
.PHONY: setup test backend frontend fetch-static crawl extract artifact calibrate refresh autoplay
setup:
cd backend && uv sync
cd frontend && npm install
test:
$(BACKEND) pytest -q
backend:
$(BACKEND) uvicorn tft.api.app:app --reload --port 8123
frontend:
cd frontend && npm run dev
fetch-static:
$(BACKEND) python -m tft.cli fetch-static
crawl:
$(BACKEND) python -m tft.cli crawl
extract:
$(BACKEND) python -m tft.cli extract
artifact:
$(BACKEND) python -m tft.cli build-artifact
calibrate:
$(BACKEND) python -m tft.cli calibrate
refresh:
$(BACKEND) python -m tft.cli refresh
autoplay:
$(BACKEND) python -m tft.cli autoplay