Use /bin/sh -e

This commit is contained in:
uwap 2018-02-02 09:27:23 +01:00
parent f70f2977ab
commit 06aeba9d76

View file

@ -1,7 +1,9 @@
#!/bin/sh
yarn lint && for conf in $(ls config/); do
#!/bin/sh -e
yarn lint
for conf in $(ls config/); do
if [ $conf == "utils.js" ]; then
continue
fi
yarn build $conf && yarn production-build $conf
done || exit 1
yarn build $conf
yarn production-build $conf
done