You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotbare/shellcheck.sh

23 lines
301 B
Bash

#!/usr/bin/env bash
#
# run shellcheck against all scripts
set -e
scripts=()
while IFS= read -r -d $'\0' line; do
scripts+=("$line")
done < <(
find \
dotbare \
helper/* \
scripts/* \
shellcheck.sh \
-type f \
-print0
)
shellcheck -e SC1090 "${scripts[@]}"
exit $?