Makefile an creator3-Stil angleichen: install/dev/test/build
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
16
Makefile
16
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
|
||||
|
||||
Reference in New Issue
Block a user