From d191af34caf6759305d6865b96530b65cbf4e6a6 Mon Sep 17 00:00:00 2001 From: team3 Date: Thu, 23 Jul 2026 00:44:42 +0200 Subject: [PATCH] Makefile an creator3-Stil angleichen: install/dev/test/build Co-Authored-By: Claude Fable 5 --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 85ae593..700f5f1 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,19 @@ BACKEND = cd backend && uv run -.PHONY: setup test backend frontend fetch-static crawl extract artifact calibrate refresh autoplay +.PHONY: install dev test build fetch-static crawl extract artifact calibrate refresh autoplay -setup: +install: cd backend && uv sync cd frontend && npm install +dev: + $(BACKEND) uvicorn tft.api.app:app --reload --port 8123 & cd frontend && npm run dev + test: - $(BACKEND) pytest -q + $(BACKEND) pytest -x -q -backend: - $(BACKEND) uvicorn tft.api.app:app --reload --port 8123 - -frontend: - cd frontend && npm run dev +build: + cd frontend && npm run build fetch-static: $(BACKEND) python -m tft.cli fetch-static