diff options
author | EuAndreh <eu@euandre.org> | 2023-04-04 12:10:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-04 12:10:54 -0300 |
commit | bf4a390c23a860ff8bda9538942f2b16cdcf8c05 (patch) | |
tree | ddc45415eeb7e8908605745294f58647fd18f533 /v2/aux | |
parent | Revamp v2/ (diff) | |
download | euandre.org-bf4a390c23a860ff8bda9538942f2b16cdcf8c05.tar.gz euandre.org-bf4a390c23a860ff8bda9538942f2b16cdcf8c05.tar.xz |
Makefile: Add ShellCheck to "check" target
Diffstat (limited to 'v2/aux')
-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 |