Actually fix build.sh

This commit is contained in:
pietervdvn 2022-02-23 16:51:32 +01:00
parent cdc386d8ba
commit c1e1c8aa1a

View file

@ -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 # 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:editor-layer-index
npm run generate && 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 test &&
npm run generate:layouts && 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
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "ERROR - stopping the build" echo "ERROR - stopping the build"