taper / scripts /ci /install-hooks.sh
abr00kx's picture
Upload Taper: hardened ephemeral E2EE messaging protocol (Matrix hard fork) (part 4)
b855ced verified
Raw History Blame Contribute Delete
327 Bytes
#!/usr/bin/env bash
# Point git at the versioned hooks in .githooks/. Run once per clone.
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"
chmod +x .githooks/* scripts/ci/gate.sh
git config core.hooksPath .githooks
echo "Hooks installed: pre-commit (fast gate), commit-msg (Conventional Commits), pre-push (full gate)."