diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | tests/assert-shellcheck.sh | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -114,7 +114,7 @@ clean: src/bin/paku check-shellcheck: - git ls-files | grep '\.sh$$' | xargs shellcheck + sh tests/assert-shellcheck.sh local-files = \ /etc/postfix/master.cf \ diff --git a/tests/assert-shellcheck.sh b/tests/assert-shellcheck.sh new file mode 100755 index 0000000..322a508 --- /dev/null +++ b/tests/assert-shellcheck.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -eu + +git ls-files | + grep '\.sh$' | + xargs shellcheck |