-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 712 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (25 loc) · 712 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
.PHONY: bootstrap lint lint-fix typecheck precommit-install vendor-aider openapi docs docs-build
VENV ?= .venv
DOCS_ADDR ?= 0.0.0.0:8000
bootstrap:
uv venv $(VENV)
uv pip install -e .[dev]
uv pip install -e packages/mewbo_core -e packages/mewbo_tools \
-e apps/mewbo_api -e apps/mewbo_cli \
-e apps/mewbo_ha_conversation
lint:
$(VENV)/bin/ruff check .
lint-fix:
$(VENV)/bin/ruff check --fix .
typecheck:
$(VENV)/bin/mypy
precommit-install:
$(VENV)/bin/pre-commit install
vendor-aider:
./scripts/vendor_aider.sh
openapi:
uv run python scripts/ci/generate_openapi_spec.py
docs:
uv run --group docs mkdocs serve --dev-addr $(DOCS_ADDR)
docs-build:
uv run --group docs mkdocs build --strict