-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjustfile
More file actions
72 lines (51 loc) · 1.48 KB
/
justfile
File metadata and controls
72 lines (51 loc) · 1.48 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
60
61
62
63
64
65
66
67
68
69
70
71
72
check:
@scripts/check/check.sh
test crate="":
@scripts/test/test.sh "{{ crate }}"
build:
@echo "Change Detection Plan:"
@echo ""
@cargo rail plan --merge-base --explain
@echo ""
@echo "Building affected crates..."
@cargo rail run --merge-base --profile local --surface build
build-release:
@echo "Change Detection Plan:"
@echo ""
@cargo rail plan --merge-base --explain
@echo ""
@echo "Building affected crates (release)..."
@cargo rail run --merge-base --profile local --surface build -- --release
# Full Workspace Commands (no change detection)
check-all:
@scripts/check/check.sh --all
test-all:
@scripts/test/test.sh --all
build-all:
cargo build --workspace --all-targets --all-features
build-release-all:
cargo build --workspace --all-targets --all-features --release
# CI Commands (for GitHub Actions)
ci-check:
@scripts/check/check.sh --ci
ci-test:
@scripts/test/test.sh
ci-build:
@cargo rail run --since "${RAIL_SINCE:-HEAD~1}" --surface build
# Explainability
plan:
cargo rail plan --merge-base -f json
why:
cargo rail plan --merge-base --explain
dry-run surface="test":
cargo rail run --merge-base --surface {{ surface }} --dry-run --print-cmd --explain
# Maintenance
update:
cargo update --workspace
cargo upgrade --recursive
gen-docs:
@scripts/docs/generate.sh
pin-actions:
@scripts/ci/pin-actions.sh --update-lock
verify-actions:
@scripts/ci/pin-actions.sh --verify-only