-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (22 loc) · 733 Bytes
/
Makefile
File metadata and controls
33 lines (22 loc) · 733 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: check lint format lint-ts format-ts docs docs-strict docs-live docs-clean
check:
npx prek run --all-files
@echo "All checks passed."
lint: check
# Targeted subproject checks (not part of `make check` — use for focused runs).
lint-ts:
cd nemoclaw && npm run check
format: format-ts format-cli
format-cli:
npx prettier --write 'bin/**/*.js' 'test/**/*.js'
format-ts:
cd nemoclaw && npm run lint:fix && npm run format
# --- Documentation ---
docs:
uv run --group docs sphinx-build -b html docs docs/_build/html
docs-strict:
uv run --group docs sphinx-build -W -b html docs docs/_build/html
docs-live:
uv run --group docs sphinx-autobuild docs docs/_build/html --open-browser
docs-clean:
rm -rf docs/_build