This commit is contained in:
2026-08-02 15:26:07 +02:00
parent 336b36c8e1
commit b2eb145a6f
415 changed files with 24264 additions and 36 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -e
targets=()
while IFS= read -r -d $'\0'; do
targets+=("$REPLY")
done < <(
find . -type f \( -name \*.bash -o -name \*.sh \) -print0
find . -type f -name '*.bats' -not -name '*_no_shellcheck*' -print0
find libexec -type f -print0
find bin -type f -print0
)
if [[ $1 == --list ]]; then
printf "%s\n" "${targets[@]}"
exit 0
fi
LC_ALL=C.UTF-8 shellcheck -x "${targets[@]}"
exit $?