Attempt to speed up build process

This commit is contained in:
Pieter Vander Vennet 2023-12-06 12:19:14 +01:00
parent 42a87d2611
commit 6b8bf304e6
3 changed files with 7 additions and 9 deletions

View file

@ -14,8 +14,9 @@ export NODE_OPTIONS="--max-old-space-size=16384"
# 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:layouts
npm run prep:layeroverview &&
npm run generate && # includes a single "refresh:layeroverview". Resetting the files is unnecessary as they are not in there in the first place
npm run refresh:layeroverview # run refresh:layeroverview a second time to propagate all calls
if [ $? -ne 0 ]; then
echo "ERROR - stopping the build"