Enable focused tests as repository pre-commit hook

This commit is contained in:
Frank
2026-08-25 16:18:01 -07:00
parent 63ff1b6b43
commit 8c8c3f7cd0
4 changed files with 24 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Repository pre-commit hook: run only tests selected by staged paths.
set -euo pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
exec "$REPO_ROOT/scripts/test-changed.sh"