mirror of https://github.com/kazhala/dotbare
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.
23 lines
293 B
Bash
23 lines
293 B
Bash
4 years ago
|
#!/bin/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 $?
|