Files
harpia/scripts/install-hooks.sh
T
Lucas RayanandClaude Opus 5.5 36eadabc7c chore: add license texts and align scripts and CI with the other Ciberfauna projects
LICENSE-MIT/LICENSE-APACHE were declared but missing. verificar.sh and
instalar-hooks.sh become check.sh and install-hooks.sh, as in Acauã and
Sabiá, and CI now runs the UI translation coverage check, which found 38
untranslated dashboard strings and a duplicated key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 10:17:04 -03:00

7 lines
340 B
Bash
Executable File

#!/usr/bin/env bash
# Enables the repository Git hooks (.githooks/pre-push and .githooks/commit-msg).
set -euo pipefail
cd "$(dirname "$0")/.."
git config core.hooksPath .githooks
echo "hooks enabled: git commit validates Conventional Commits in English and git push runs scripts/check.sh (disable with: git config --unset core.hooksPath)"