From c1e1c8aa1a2f2655eb45e9e420d962f1da62570b Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 23 Feb 2022 16:51:32 +0100 Subject: [PATCH] Actually fix build.sh --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"