forked from ungleich-public/cdist
Add shellcheck makefile target. shellcheck when doing release.
This commit is contained in:
parent
877b4d2748
commit
8436f872a9
3 changed files with 68 additions and 2 deletions
|
|
@ -250,6 +250,7 @@ eof
|
|||
"$0" check-date
|
||||
"$0" check-unittest
|
||||
"$0" check-pep8
|
||||
"$0" shellcheck
|
||||
|
||||
# Generate version file to be included in packaging
|
||||
"$0" target-version
|
||||
|
|
@ -370,7 +371,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)?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue