Add linting to build-and-deploy
Ensures that bad code isn't deployed during testing.
This commit is contained in:
parent
5501586a47
commit
5b3bb9f306
|
@ -12,6 +12,9 @@ else
|
|||
SUDO="sudo"
|
||||
fi
|
||||
|
||||
echo -n "> Linting code for errors... "
|
||||
./lint || exit
|
||||
|
||||
HOSTS=( ${@} )
|
||||
echo "> Deploying to host(s): ${HOSTS[@]}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue