-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 750 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 750 Bytes
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
.PHONY: install run test smoke lint fmt docs-check help
help:
@echo "Usage: make <target>"
@echo ""
@echo " install install with dev dependencies (uv sync)"
@echo " run start SwitchBoard in dev mode (reload enabled)"
@echo " test run full test suite"
@echo " smoke smoke-test a running instance (requires make run)"
@echo " lint check code style with ruff"
@echo " fmt auto-format with ruff"
@echo " docs-check verify all doc-referenced files exist"
install:
uv sync --all-extras
run:
bash scripts/run_dev.sh
test:
uv run pytest -q
smoke:
bash scripts/smoke_test.sh
lint:
uv run ruff check src test
fmt:
uv run ruff format src test
docs-check:
bash scripts/check_docs.sh