-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
50 lines (36 loc) · 1.13 KB
/
justfile
File metadata and controls
50 lines (36 loc) · 1.13 KB
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
47
48
49
50
default:
@just --list
qa: lint typecheck test
lint:
uv run ruff check .
uv run ruff format --check .
fmt:
uv run ruff format .
uv run ruff check --fix .
typecheck:
uv run mypy src/hyperweave/ --strict
test *ARGS:
uv run pytest -n auto --cov=hyperweave --cov-report=term-missing {{ARGS}}
test-debug *ARGS:
uv run pytest -x -vvs {{ARGS}}
snapshots:
uv run pytest tests/ -k snapshot --snapshot-update
smoke:
uv run hyperweave compose badge "build" "passing" --genome brutalist-emerald
smoke-receipt:
uv run hyperweave render --template receipt --data tests/fixtures/session.json
proof-set:
#!/usr/bin/env bash
for genome in $(uv run hyperweave genomes list --ids-only); do
for frame in badge strip banner icon divider marquee-horizontal marquee-vertical marquee-counter; do
uv run hyperweave compose $frame "test" "value" --genome $genome > /dev/null || echo "FAIL: $genome/$frame"
done
done
serve:
uv run hyperweave serve --port 8000 --reload
extract-glyphs:
uv run python scripts/extract_glyphs.py
docs:
cd docs && mintlify dev
build:
uv build