Rules engine and viewer implementing the BGS Engine and Viewer APIs, with tests, a local test page, registration guide and admin-panel content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
245 B
Bash
7 lines
245 B
Bash
#!/bin/sh
|
|
# Blocks the commit unless pnpm check passes. Enable with: git config core.hooksPath .githooks
|
|
cd "$(git rev-parse --show-toplevel)" || exit 1
|
|
if ! pnpm check; then
|
|
echo "pre-commit: pnpm check failed; commit blocked." >&2
|
|
exit 1
|
|
fi
|