.PHONY: build up down logs health migrate lint typecheck test fmt mint-plugin # --- Docker --- build: docker compose -f docker-compose.dev.yml build up: docker compose -f docker-compose.dev.yml up -d down: docker compose -f docker-compose.dev.yml down logs: docker compose -f docker-compose.dev.yml logs -f health: curl -s http://localhost:5000/api/health migrate: docker compose -f docker-compose.dev.yml exec app alembic upgrade head # --- Local dev (requires: uv sync --extra dev and cd frontend && npm ci) --- lint: ruff check src/ fmt: ruff format src/ typecheck: cd frontend && npx vue-tsc --noEmit test: pytest tests/ -v # Run all checks in one shot (mirrors what CI does) check: lint typecheck test # --- Plugin --- # Run after changing plugin/ or .claude-plugin/, before committing: the plugin # ships from git with no build step, so its version is minted here. CI fails if # the version wasn't bumped. mint-plugin: python3 scripts/mint_plugin_version.py