-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathjustfile
More file actions
59 lines (48 loc) · 2 KB
/
Copy pathjustfile
File metadata and controls
59 lines (48 loc) · 2 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
51
52
53
54
55
56
57
58
59
# FOUNDATION: Shared developer commands. Keep this interface small and stable.
# List available commands.
default:
@just --list
[private]
install:
pnpm install --frozen-lockfile
# Run the shared frontend in a browser; forward Vite arguments (e.g. --port 1431).
[positional-arguments]
web *args: install
if [ "${1:-}" = "profile" ]; then shift; set -m; node scripts/profile-dev.mjs web "$@"; else exec pnpm dev "$@"; fi
# Run Tauri; --port selects Vite's port, other arguments pass through to Tauri.
[positional-arguments]
desktop *args: install
if [ "${1:-}" = "profile" ]; then shift; set -m; node scripts/profile-dev.mjs desktop "$@"; else exec node scripts/desktop-dev.mjs "$@"; fi
# Bundle a debug desktop app for deep-link testing; macOS routes a scheme only to a bundle.
[positional-arguments]
desktop-bundle *args: install
exec node scripts/desktop-build.mjs "$@"
# Remove generated CPU, network, and Instruments profiles.
profile-clean:
rm -rf -- .profiles
# Open the design system in a browser; forward Vite arguments (e.g. --port 1444).
[positional-arguments]
design *args: install
pnpm design:dev "$@"
# Run buzzodz; forward arguments unchanged (Rust required).
[positional-arguments]
cli *args:
@cargo run --quiet --locked --manifest-path crates/plugin-manager/Cargo.toml --bin buzzodz -- "$@"
# Reserved for the frontend and local Docker relay backend.
fullstack:
@echo "Not implemented: fullstack will run Buzz with a local Docker relay backend." >&2
@exit 1
# Fast feedback: safe fixes, formatting, type checking, and frontend build; no tests.
iterate: install
cargo fmt --all
pnpm exec biome check --write --error-on-warnings .
pnpm build
# Broader validation; does not auto-fix source files. First Rust build can be slow.
scan: install
pnpm check
pnpm test
cargo fmt --all --check
pnpm build
pnpm design:test:browser
cargo clippy --workspace --locked --all-targets -- -D warnings
cargo test --manifest-path src-tauri/Cargo.toml --locked