Skip to content

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

Separate `post-merge-command` into steps

Maximilian Roos545f6f07437d
diff --git a/.config/wt.toml b/.config/wt.toml
index 75eb6e0bf..de3952e3a 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -20,7 +20,9 @@ cp -cR {{ repo_root }}/target/. {{ worktree }}/target/
# Post-merge commands
# These run in the main worktree after successful merge and push
# Available template variables: {{ repo }}, {{ branch }}, {{ worktree }}, {{ repo_root }}, {{ target }}
-post-merge-command = "cargo install --path ."
+[post-merge-command]
+build = "cargo build --all-targets"
+install = "cargo install --path ."
# Pre-commit commands
# These run sequentially before committing changes during merge (both squash and no-squash)