static analysis of freedombone commands

This commit is contained in:
Bob Mottram 2018-03-02 22:27:58 +00:00
parent 44dd4e3ec6
commit e7b3c1f10b
1 changed files with 12 additions and 1 deletions

View File

@ -88,7 +88,18 @@ function test_static_analysis {
if ! shellcheck --exclude SC2034,SC1090 "$filename"; then
echo ''
echo $"${filename} failed static analysis"
exit 24687242
exit 3857395935
fi
done
FILES="/usr/local/bin/${PROJECT_NAME}-*"
for filename in $FILES
do
if ! shellcheck --exclude SC2034,SC1090 "$filename"; then
echo ''
echo $"${filename} failed static analysis"
exit 784243468435
fi
done
}