diff options
Diffstat (limited to 'v2/aux/checks/shellcheck.sh')
-rwxr-xr-x | v2/aux/checks/shellcheck.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/v2/aux/checks/shellcheck.sh b/v2/aux/checks/shellcheck.sh new file mode 100755 index 0000000..585a75f --- /dev/null +++ b/v2/aux/checks/shellcheck.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -eu + +git ls-files | + xargs awk '/^#!\/bin\/sh$/ { print FILENAME } { nextfile }' | + xargs shellcheck -x |