mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
just: Add post-checkout hook
This commit is contained in:
committed by
Fintan Halpenny
parent
09cd3eeb82
commit
4e0f739c29
@@ -47,6 +47,8 @@ if [ "$HOOK_NAME" = "pre-commit" ]; then
|
||||
elif [ "$HOOK_NAME" = "pre-push" ]; then
|
||||
echo "Running pre-push checks..."
|
||||
just pre-push
|
||||
elif [ "$HOOK_NAME" = "post-checkout" ]; then
|
||||
just post-checkout
|
||||
else
|
||||
echo "Unknown hook: $HOOK_NAME"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user