diff options
| author | Ben Sima <ben@bensima.com> | 2026-06-04 16:38:54 -0400 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2026-06-04 16:38:54 -0400 |
| commit | fe04ad47c9abf843cb6f64176981325a5b05f074 (patch) | |
| tree | 212dc37a6ed0a16eebc72f3ab06b35949b09b71b /scripts/install-git-hooks.sh | |
| parent | 11fd65b015dc6e24127f3cfdcb08975704381d46 (diff) | |
Add tests and fix research tools
Diffstat (limited to 'scripts/install-git-hooks.sh')
| -rwxr-xr-x | scripts/install-git-hooks.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/install-git-hooks.sh b/scripts/install-git-hooks.sh new file mode 100755 index 0000000..9cc0748 --- /dev/null +++ b/scripts/install-git-hooks.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +cd "$(dirname "$0")/.." +install -m 0755 scripts/pre-commit .git/hooks/pre-commit +echo "installed .git/hooks/pre-commit" |
