Skip to content

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

Post-merge: run clippy and build tests for warm cache (#1795)

Maximilian Roosa8640d2deb71
diff --git a/.config/wt.toml b/.config/wt.toml
index 002f8073c..58ca7caf1 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -5,7 +5,8 @@ assets = "task fetch-assets"
docs = "cd docs && zola serve -p {{ branch | hash_port }}"
[post-merge]
-build = "cargo build --all-targets"
+clippy = "pre-commit run clippy --all-files || true"
+build = "cargo test --no-run --all-targets"
install = "cargo install --path ."
sync = 'if [ "{{ target }}" = "main" ]; then git pull && git push; fi'