summaryrefslogtreecommitdiff
path: root/repo/hooks/check-links.sh
diff options
context:
space:
mode:
Diffstat (limited to 'repo/hooks/check-links.sh')
-rwxr-xr-xrepo/hooks/check-links.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/hooks/check-links.sh b/repo/hooks/check-links.sh
new file mode 100755
index 0000000..5681326
--- /dev/null
+++ b/repo/hooks/check-links.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+echo "Checking for unresolved links…"
+
+! grep -Er '^\[.*\]:.*TODO.*'