-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (30 loc) · 744 Bytes
/
Copy pathMakefile
File metadata and controls
46 lines (30 loc) · 744 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
38
39
40
41
42
43
44
45
46
.PHONY: dev test test-cov lint fmt build app icon clean
# --- Development ---
dev:
uv run python tools/tts_server.py
icon:
python tools/gen_icon.py
# --- Build ---
build:
zig build
app:
zig build app
# --- Testing ---
test:
uv run pytest tests/ -v
test-cov:
uv run pytest tests/ -v --cov=tools/metanoia_server --cov-report=term --cov-report=html
test-zig:
zig build test
check: test-zig test lint
# --- Quality ---
lint:
uv run ruff check tools/metanoia_server/ tests/
fmt:
uv run ruff format tools/metanoia_server/ tests/
# --- Cleanup ---
clean:
rm -rf cache/*
rm -rf __pycache__ tools/metanoia_server/__pycache__ tools/metanoia_server/routes/__pycache__ tests/__pycache__
rm -rf .coverage htmlcov
rm -rf zig-out