Make script/ entrypoints POSIX sh; add bootstrap and setup
All checks were successful
check / check (push) Successful in 8s

This commit is contained in:
2026-07-06 23:03:17 +02:00
parent 9b17cddc8b
commit d0958fce80
16 changed files with 156 additions and 56 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash
#!/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 -euo pipefail
set -eu
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
main() {
"$SCRIPT_DIR/check"