Change build scripts to Odin via brokkr

This commit is contained in:
Riyyi
2026-09-28 20:50:59 +02:00
parent bf668d6177
commit 9ead998a3b
11 changed files with 661 additions and 331 deletions
+3 -14
View File
@@ -1,18 +1,7 @@
#!/bin/sh
set -eu
SCRIPT_DIR=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd)
git stash push --keep-index --quiet
"$SCRIPT_DIR/../fmt.sh"
if ! git diff --quiet; then
echo "Formatting changed staged files; commit aborted."
git checkout -- "$SCRIPT_DIR/.."
git stash pop --quiet
exit 1
fi
# "$SCRIPT_DIR/../test.sh"
git stash pop --quiet
exec "$SCRIPT_DIR/../build.sh" -pre-commit