7 lines
181 B
Bash
7 lines
181 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
# Pre-commit hook: validate all wiki links before commit
|
||
|
|
set -e
|
||
|
|
REPO_ROOT="$(git rev-parse --show-toplevel)"
|
||
|
|
cd "$REPO_ROOT"
|
||
|
|
python3 scripts/check-wiki-links.py
|