#!/bin/bash # # install_hooks.sh — Metrika # # Author: Simon-Pierre Boucher # Contact: contact@spboucher.ai # Copyright © 2026 Simon-Pierre Boucher. All rights reserved. # # Installs the repo git hooks. Run once after cloning. # set -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)" install -m 755 "$ROOT/scripts/pre-commit" "$ROOT/.git/hooks/pre-commit" echo "✅ pre-commit hook installed"