Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Pre-merge: Build `dev-detach` first to fix CI

Maximilian Roosa247194b2ca7
diff --git a/.config/wt.toml b/.config/wt.toml
index c0f713585..c18aca3ac 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -36,5 +36,7 @@ pre-commit = "pre-commit run --all-files"
# Note: This must come AFTER post-merge because [pre-merge] starts
# a TOML table section, and everything after it would be inside that section
[pre-merge]
+# Build test helpers first (dev-detach isn't a compile-time dependency)
+build = "cargo build -p dev-detach"
insta = "NEXTEST_STATUS_LEVEL=fail NEXTEST_SUCCESS_OUTPUT=never cargo insta test --check --test-runner nextest --test-runner-fallback true --features shell-integration-tests"
doc = "RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps"