aboutsummaryrefslogtreecommitdiff
path: root/tests/assert-shellcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assert-shellcheck.sh')
-rwxr-xr-xtests/assert-shellcheck.sh6
1 files changed, 6 insertions, 0 deletions
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