Add shellcheck makefile target. shellcheck when doing release.

This commit is contained in:
Darko Poljak 2018-10-06 14:57:55 +02:00
commit 8436f872a9
3 changed files with 68 additions and 2 deletions

View file

@ -285,6 +285,7 @@ eof
"$0" check-date
"$0" check-unittest
"$0" check-pep8
"$0" shellcheck
# Generate version file to be included in packaging
"$0" target-version
@ -432,7 +433,29 @@ eof
check-pep8)
"$0" pep8
echo "Please review pep8 report."
printf "\\nPlease review pep8 report.\\n"
while true
do
echo "Continue (yes/no)?"
any=
read any
case "$any" in
yes)
break
;;
no)
exit 1
;;
*)
echo "Please answer with 'yes' or 'no' explicitly."
;;
esac
done
;;
shellcheck)
make helper=${helper} WEBDIR=${WEBDIR} shellcheck
printf "\\nPlease review shellcheck report.\\n"
while true
do
echo "Continue (yes/no)?"