Bail out if yarn returns a non-zero code.

pull/22/head
Dave Page 2019-03-15 09:20:13 +00:00
parent 670a62208a
commit b3c3b69a36
1 changed files with 2 additions and 2 deletions

View File

@ -191,8 +191,8 @@ _complete_bundle() {
./complete-bundle.sh "$BUILDROOT/$APP_BUNDLE_NAME" || { echo complete-bundle.sh failed; exit 1; }
pushd $SOURCEDIR/web
yarn install
yarn run bundle
yarn install || exit 1
yarn run bundle || exit 1
curl https://curl.haxx.se/ca/cacert.pem -o cacert.pem -s || { echo Failed to download cacert.pem; exit 1; }
popd