From a7c0798d4bbd122a5821cba203740a2e2a5c8239 Mon Sep 17 00:00:00 2001 From: team3 Date: Thu, 23 Jul 2026 00:43:19 +0200 Subject: [PATCH] =?UTF-8?q?Makefile=20f=C3=BCr=20die=20g=C3=A4ngigen=20Kom?= =?UTF-8?q?mandos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- Makefile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..85ae593 --- /dev/null +++ b/Makefile @@ -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