diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-20 22:08:08 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-20 22:08:08 +0200 |
| commit | 6ff31279d38bd3b814f19b1fb63933544139f6cf (patch) | |
| tree | e0a64a48df9d484b52829371d648698471895ffe /scripts | |
| parent | 29969ad294d1654f6eca23a16c83b84bbf7f9bfe (diff) | |
| download | bokf-6ff31279d38bd3b814f19b1fb63933544139f6cf.tar.gz bokf-6ff31279d38bd3b814f19b1fb63933544139f6cf.zip | |
build: make gate with WERROR and a pre-push hook
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install-hooks.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/install-hooks.sh b/scripts/install-hooks.sh new file mode 100755 index 0000000..02e0cfc --- /dev/null +++ b/scripts/install-hooks.sh @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu +cd "$(dirname "$0")/.." +git config core.hooksPath .githooks +echo "git hooks: core.hooksPath=.githooks (pre-push runs 'make gate')" |
