#!/usr/bin/env bash # Committed pre-commit hook. Activate per clone with: # git config core.hooksPath .githooks # Runs the naming/style gate; blocks the commit on failure. exec bash "$(git rev-parse --show-toplevel)/scripts/check-naming-and-style.sh"