Files
asepharyana-hub/scripts/git-hooks/setup-hooks.sh
T

15 lines
347 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -euo pipefail
echo "=== Setting up Git hooks ==="
REPO_ROOT=$(git rev-parse --show-toplevel)
cat <<EOF
️ This project uses Git submodules but does not enforce hooks via Husky anymore.
Each app submodule manages its own hooks independently.
To set up hooks locally, run:
cp -r scripts/git-hooks/ .git/hooks/
EOF