mirror of https://github.com/kazhala/dotbare
shellcheck script
parent
c906ee4c0e
commit
05472cf5eb
@ -0,0 +1,22 @@
|
||||
#!/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 $?
|
Loading…
Reference in New Issue