-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (18 loc) · 717 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (18 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Vanchor-NG developer tasks. `make <target>`; run inside the project venv.
.PHONY: help docs test lint
help:
@echo "make docs Generate the Markdown API reference from docstrings -> docs/api/"
@echo "make test Run the test suite"
@echo "make lint Run ruff (Python) + node --check (JS)"
# Auto-generated Markdown API reference for the whole `vanchor` package, built
# from the code's docstrings with pydoc-markdown (needs the docs extra:
# pip install -e '.[docs]'). One file per top-level package under docs/api/.
docs:
python scripts/gen_api_docs.py
test:
pytest -q
lint:
ruff check src tests
@for f in src/vanchor/ui/static/*.js; do \
node --check "$$f" || { echo "FAIL: $$f"; exit 1; }; \
done