-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
75 lines (51 loc) · 1.54 KB
/
Copy pathMakefile
File metadata and controls
75 lines (51 loc) · 1.54 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.PHONY: setup test lint format typecheck contracts foundation-check check web-check release-check clean-clone-check infrastructure-check postgres-check local-up local-down migrate demo api web mcp mcp-check phase1-eval phase2-graph-eval continuation-benchmark
setup:
python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install -e '.[dev]'
test:
.venv/bin/python -m pytest
lint:
.venv/bin/python -m ruff check .
format:
.venv/bin/python -m ruff format .
typecheck:
.venv/bin/python -m mypy
contracts:
.venv/bin/python scripts/validate_contracts.py
foundation-check:
.venv/bin/python scripts/check_foundation.py
check: lint typecheck contracts test foundation-check
web-check:
npm --prefix apps/web run lint
npm --prefix apps/web test
release-check:
.venv/bin/python scripts/verify_release.py
clean-clone-check:
.venv/bin/python scripts/verify_clean_clone.py
infrastructure-check:
docker-compose up -d --wait
postgres-check: infrastructure-check
.venv/bin/python scripts/verify_postgres.py
local-up:
docker-compose up -d --wait
local-down:
docker-compose down
migrate:
.venv/bin/threadline migrate
demo:
.venv/bin/threadline demo
api:
.venv/bin/threadline api
web:
npm --prefix apps/web run dev
mcp:
.venv/bin/threadline mcp --demo
mcp-check:
.venv/bin/python scripts/verify_mcp.py
phase1-eval:
.venv/bin/python scripts/run_phase1_eval.py
phase2-graph-eval:
.venv/bin/python scripts/run_phase2_graph_eval.py
continuation-benchmark:
.venv/bin/python scripts/run_continuation_benchmark.py