-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (21 loc) · 762 Bytes
/
justfile
File metadata and controls
28 lines (21 loc) · 762 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
set shell := ["bash", "-uc"]
bootstrap:
python3 -m pip install --upgrade pip
command -v uv >/dev/null 2>&1 && uv sync --all-extras || pip install -e ".[dev,examples]"
dev:
uvicorn examples.servers.http_server:app --host 127.0.0.1 --port 8000 &
python examples/servers/grpc_server.py &
ci-local:
uv run pytest -q
tour:
u scan . -o maps/repo.json || true
u lens from-seeds --map maps/repo.json -o maps/lens.json || true
u trace module examples/app/hot_path.py run_hot_path -o traces/tour.json
u lens merge-trace maps/lens.json traces/tour.json -o maps/lens_merged.json
u tour maps/lens_merged.json -o tours/local.md
vsix:
cd ide/vscode/understand-first && npx --yes @vscode/vsce package --no-yarn
wheel:
python -m build
smoke:
uv run pytest -q