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