aboutsummaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 14:45:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 14:45:33 +1200
commit1933e360a83a3fada24b378ca2dffe2818d224dd (patch)
tree0eaf939eabcfcf94a2d624eb9728a8b22e3ac9d2 /check
parentAdd first attempt at Git template dir (diff)
downloaddotfiles-1933e360a83a3fada24b378ca2dffe2818d224dd.tar.gz
dotfiles-1933e360a83a3fada24b378ca2dffe2818d224dd.zip
Add check and lint targets for git template hooks
Diffstat (limited to 'check')
-rw-r--r--check/git-template-hooks.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/check/git-template-hooks.sh b/check/git-template-hooks.sh
new file mode 100644
index 00000000..42d3a69f
--- /dev/null
+++ b/check/git-template-hooks.sh
@@ -0,0 +1,3 @@
+for sh in git/template/hooks/*.sh ; do
+ sh -n "${sh%.sh}" || exit
+done