-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 732 Bytes
/
Makefile
File metadata and controls
37 lines (30 loc) · 732 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
34
35
36
37
.PHONY: install
install:
uv sync --group dev --group test
uv pip install -e .
.PHONY: test
test:
uv run pytest -x src/writeadoc tests
.PHONY: lint
lint:
uv run ruff check .
uv run ty check
.PHONY: coverage
coverage:
uv run pytest --cov-config=pyproject.toml --cov-report html --cov writeadoc src/writeadoc tests
.PHONY: docs
docs:
cd docs && uv run python docs.py
.PHONY: blueprint
blueprint:
cd src/writeadoc/blueprint && uv run python docs.py
.PHONY: docs-build
docs-build:
rm -rf docs/build
cd docs && uv run python docs.py build --llm
.PHONY: docs-deploy
docs-deploy:
rm -rf docs/build
cd docs && \
uv run python docs.py build --llm && \
rsync --recursive --delete --progress build code:/var/www/writeadoc/