-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 1.08 KB
/
Copy pathMakefile
File metadata and controls
35 lines (27 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: dev lint test build build-runner migrate types typecheck
dev:
docker compose up --build
lint:
cd apps/api && uv run ruff check src/ tests/
cd apps/api && uv run ruff format --check src/ tests/
cd apps/api && uv run mypy src/
cd apps/web && npx eslint src/
typecheck:
cd apps/api && uv run mypy src/
test:
cd apps/api && uv run pytest
cd apps/web && npx vitest run
build:
docker compose -f infra/coolify/docker-compose.prod.yml build
# Rebuild just the claude-runner image. Normally you don't need to call this
# directly — both compose files declare claude-runner as a build-only service,
# so `docker compose up --build` produces the image as a side-effect. This
# shortcut is useful for quick iteration on infra/docker/claude-runner/ without
# touching the API or web services. Image tag must match
# CLAUDE_RUNNER_IMAGE in helprs/modules/container/service.py.
build-runner:
docker build -t claude-runner:latest infra/docker/claude-runner/
migrate:
cd apps/api && uv run alembic upgrade head
types:
@echo "OpenAPI → TypeScript type generation (configured in future story)"