diff options
author | EuAndreh <eu@euandre.org> | 2023-04-01 22:25:46 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-01 22:26:11 -0300 |
commit | 76e1a0925fde2cbf25b75409cd353e20b9cfef48 (patch) | |
tree | cc6c3bd8ec0b182011377a20ace0b10f55fd86b5 /aux/checks/shellcheck.sh | |
parent | Revamp CI: simpler variant of the same functionality (diff) | |
download | remembering-76e1a0925fde2cbf25b75409cd353e20b9cfef48.tar.gz remembering-76e1a0925fde2cbf25b75409cd353e20b9cfef48.tar.xz |
Revamp code under aux/
Diffstat (limited to 'aux/checks/shellcheck.sh')
-rwxr-xr-x | aux/checks/shellcheck.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/aux/checks/shellcheck.sh b/aux/checks/shellcheck.sh new file mode 100755 index 0000000..40fd364 --- /dev/null +++ b/aux/checks/shellcheck.sh @@ -0,0 +1,6 @@ +#!/bin/sh +set -eu + +find . -name '*.sh' -print0 | + xargs -0 awk 'FNR==1 && /^#!\/bin\/sh$/ { print FILENAME }' | + xargs shellcheck |