-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
39 lines (31 loc) · 1.08 KB
/
Copy pathJustfile
File metadata and controls
39 lines (31 loc) · 1.08 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
# ──────────────────────────────────────────────
# podbox — development justfile
# ──────────────────────────────────────────────
alias c := check
alias b := build
alias t := test
alias l := lint
# Run all checks (lint + test)
check: lint test
# Lint
lint:
cargo clippy --all-targets -- -D warnings
# Run all tests
test:
cargo test --all-targets
# Build everything
build:
cargo build --all-targets
# Build release
release:
cargo build --release --all-targets
cargo build --release -p podbox-guest --target x86_64-unknown-linux-musl
# Build guest binary (statically linked)
guest:
cargo build --release -p podbox-guest --target x86_64-unknown-linux-musl
# Full rebuild cycle: check → build guest → build host
cycle: check guest release
@echo "---"
@echo "Release artifacts:"
@ls -lh target/release/podbox
@ls -lh target/x86_64-unknown-linux-musl/release/podbox-guest