diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 14:45:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 14:45:33 +1200 |
commit | 1933e360a83a3fada24b378ca2dffe2818d224dd (patch) | |
tree | 0eaf939eabcfcf94a2d624eb9728a8b22e3ac9d2 /check | |
parent | Add first attempt at Git template dir (diff) | |
download | dotfiles-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.sh | 3 |
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 |