You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: justfile
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,18 +7,18 @@ test crate="":
7
7
build:
8
8
@echo "Change Detection Plan:"
9
9
@echo ""
10
-
@cargo run --quiet -- rail plan --merge-base --explain
10
+
@cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail plan --merge-base --explain
11
11
@echo ""
12
12
@echo "Building affected crates..."
13
-
@cargo run --quiet -- rail run --merge-base --profile local --surface build
13
+
@cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail run --merge-base --profile local --surface build
14
14
15
15
build-release:
16
16
@echo "Change Detection Plan:"
17
17
@echo ""
18
-
@cargo run --quiet -- rail plan --merge-base --explain
18
+
@cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail plan --merge-base --explain
19
19
@echo ""
20
20
@echo "Building affected crates (release)..."
21
-
@cargo run --quiet -- rail run --merge-base --profile local --surface build -- --release
21
+
@cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail run --merge-base --profile local --surface build -- --release
22
22
23
23
# Full Workspace Commands (no change detection)
24
24
@@ -43,18 +43,18 @@ ci-test:
43
43
@scripts/test/test.sh
44
44
45
45
ci-build:
46
-
@cargo run --quiet -- rail run --since "${RAIL_SINCE:-HEAD~1}" --surface build
46
+
@cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail run --since "${RAIL_SINCE:-HEAD~1}" --surface build
47
47
48
48
# Explainability
49
49
50
50
plan:
51
-
cargo run --quiet -- rail plan --merge-base -f json
51
+
cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail plan --merge-base -f json
52
52
53
53
why:
54
-
cargo run --quiet -- rail plan --merge-base --explain
54
+
cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail plan --merge-base --explain
55
55
56
56
dry-runsurface="test":
57
-
cargo run --quiet -- rail run --merge-base --surface {{ surface }} --dry-run --print-cmd --explain
57
+
cargo run --quiet --target-dir "${RAIL_BOOTSTRAP_TARGET_DIR:-target/cargo-rail-bootstrap}" -- rail run --merge-base --surface {{ surface }} --dry-run --print-cmd --explain
0 commit comments