diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/hooks/pre-push | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/hooks/pre-push b/scripts/hooks/pre-push new file mode 100644 index 0000000..c4fbcaf --- /dev/null +++ b/scripts/hooks/pre-push @@ -0,0 +1,5 @@ +#!/bin/sh +# lectio pre-push hook: refuse to push if the CI gate fails (gofmt, vet, both +# build-tag test sets, corpora). Install with `make install-hooks`. +# Bypass in a pinch with `git push --no-verify`. +exec make -C "$(git rev-parse --show-toplevel)" ci |
