scripts-to-rule-them-all (#148)
All checks were successful
check / check (push) Successful in 5s

Reviewed-on: #148
Co-authored-by: sneak <sneak@sneak.berlin>
Co-committed-by: sneak <sneak@sneak.berlin>
This commit was merged in pull request #148.
This commit is contained in:
2026-07-07 02:14:26 +02:00
committed by Jeffrey Paul
parent 3ffc0bec80
commit d046a24115
18 changed files with 584 additions and 40 deletions

12
script/precommit Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# script/precommit: run by the git pre-commit hook; fails the commit if
# checks fail. Our own extension to scripts-to-rule-them-all.
set -eu
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
main() {
"$SCRIPT_DIR/check"
}
main "$@"