1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 06:18:42 +03:00

contrib header changes

This commit is contained in:
Anton Afanasyeu
2026-05-20 15:17:13 +02:00
parent d420c3e94a
commit 5d8e82d2e6
249 changed files with 3597 additions and 22 deletions

9
scripts/install-git-hooks.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Install repo git hooks (header pre-commit).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
git -C "$ROOT" config core.hooksPath .githooks
chmod +x "$ROOT/.githooks/pre-commit"
chmod +x "$ROOT/scripts/header-pre-commit.py"
chmod +x "$ROOT/scripts/apply-project-headers.py"
echo "Installed hooks via core.hooksPath=.githooks"