2
0
mirror of https://github.com/kazhala/dotbare synced 2024-11-17 21:25:32 +00:00
dotbare/shellcheck.sh

23 lines
301 B
Bash
Raw Normal View History

2020-05-11 01:56:27 +00:00
#!/usr/bin/env bash
2020-05-10 23:41:14 +00:00
#
# 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 $?