- CLAUDE.md project passport - Agent system prompts (architect, developer, reviewer, tester, deployer) - Gitea Actions CI pipeline (lint, test, build) - Docker configuration (Dockerfile, docker-compose.yml) - Canonical directory structure per BRD - Makefile with dev/test/lint/build/deploy targets - Architecture docs skeleton Refs: multi-agent F0-3, F0-5, F0-6, F0-8
26 lines
566 B
Makefile
26 lines
566 B
Makefile
.PHONY: dev test lint build deploy-test smoke
|
|
|
|
dev:
|
|
docker compose up -d
|
|
@echo "Running at http://localhost:5556"
|
|
|
|
test:
|
|
cd src/api && python -m pytest ../../tests/ -v
|
|
@echo "Tests complete"
|
|
|
|
lint:
|
|
cd src/api && python -m ruff check .
|
|
@echo "Lint complete"
|
|
|
|
build:
|
|
docker build -t enduro-trails:latest .
|
|
|
|
deploy-test:
|
|
docker compose -f infra/compose/docker-compose.yml pull
|
|
docker compose -f infra/compose/docker-compose.yml up -d
|
|
@echo "Deployed to test"
|
|
|
|
smoke:
|
|
curl -sf http://localhost:5556/health || (echo "SMOKE FAILED" && exit 1)
|
|
@echo "Smoke OK"
|