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 /lint | |
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 'lint')
-rw-r--r-- | lint/git-template-hooks.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lint/git-template-hooks.sh b/lint/git-template-hooks.sh new file mode 100644 index 00000000..74f20fc6 --- /dev/null +++ b/lint/git-template-hooks.sh @@ -0,0 +1,5 @@ +set -- +for bin in git/template/hooks/*.sh ; do + set -- "$@" "${bin%.sh}" +done +shellcheck -e SC1090 -- "$@" || exit |