aboutsummaryrefslogtreecommitdiff
path: root/.githooks
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 22:08:08 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 22:08:08 +0200
commit6ff31279d38bd3b814f19b1fb63933544139f6cf (patch)
treee0a64a48df9d484b52829371d648698471895ffe /.githooks
parent29969ad294d1654f6eca23a16c83b84bbf7f9bfe (diff)
downloadbokf-6ff31279d38bd3b814f19b1fb63933544139f6cf.tar.gz
bokf-6ff31279d38bd3b814f19b1fb63933544139f6cf.zip
build: make gate with WERROR and a pre-push hook
Diffstat (limited to '.githooks')
-rwxr-xr-x.githooks/pre-push4
1 files changed, 4 insertions, 0 deletions
diff --git a/.githooks/pre-push b/.githooks/pre-push
new file mode 100755
index 0000000..4196081
--- /dev/null
+++ b/.githooks/pre-push
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eu
+cd "$(git rev-parse --show-toplevel)"
+exec make gate