diff --git a/scripts/build.sh b/scripts/build.sh index cd5e9e016..24dfd9e39 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -11,9 +11,9 @@ mkdir dist/assets 2> /dev/null # This script ends every line with '&&' to chain everything. A failure will thus stop the build npm run generate:editor-layer-index npm run generate && +npm run generate:layeroverview && # generate:layeroverview has to be run twice: the personal theme won't pick up all the layers otherwise npm run test && -npm run generate:layouts && -npm run generate:layouts # generate:layouts has to be run twice: the personal theme won't pick up all the layers otherwise +npm run generate:layouts if [ $? -ne 0 ]; then echo "ERROR - stopping the build"