Bail on auto-build failure when running tests

This commit is contained in:
Dan Stillman 2017-10-27 01:08:48 -04:00
parent f0770fa84d
commit 15942b97ae

View file

@ -168,7 +168,7 @@ if [[ "$TRAVIS" != true ]] && ! ps | grep scripts/build.js | grep -v grep > /dev
echo
echo "Running JS build process"
cd "$CWD/.."
npm run build
npm run build || exit $?
echo
fi