From 9dfca25455dbac7fad721bac44daa9d9a149475a Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 12 Mar 2020 22:40:41 +0100 Subject: Make hooks easier to setup & maintain By giving them meaningful names and adding a master script to call them all. --- repo/hooks/check-links.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 repo/hooks/check-links.sh (limited to 'repo/hooks/check-links.sh') 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.*' -- cgit v1.2.3