-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
57 lines (44 loc) · 1.17 KB
/
Copy pathjustfile
File metadata and controls
57 lines (44 loc) · 1.17 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
default:
@just --list
# Build all executables (release by default)
build: build-blend
# Build blend and symlink into bin/
build-blend:
cd blend && cargo build --release
ln -sf ../target/release/blend bin/blend
# Build blend in debug mode (for development)
build-debug:
cd blend && cargo build
ln -sf ../target/debug/blend bin/blend-debug
# Validate all orders
check:
bin/blend check
# Run rustfmt on the blend crate
fmt:
cd blend && cargo fmt
# Check formatting without modifying files (CI-equivalent)
fmt-check:
cd blend && cargo fmt --check
# Run clippy on the blend crate (CI-equivalent)
clippy:
cd blend && cargo clippy -- -D warnings
# Run the blend test suite
test:
cd blend && cargo test --release
# Deploy all configs
deploy:
bin/blend sync
# Interactive sync
sync *ARGS:
bin/blend sync {{ ARGS }}
# Run the local system maintenance routine
s:
nu --no-config-file bin/system-maintenance.nu
# Compatibility alias for the old daily routine recipe
upgrade:
just s
# Full bootstrap (called by bootstrap.sh after deps are installed)
bootstrap:
just build
just deploy
@echo "Bootstrap complete. Restart your shell."