From 7a43b55245846de3226b43c602b08782581f8fd4 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sat, 8 Jan 2022 19:15:56 +0100 Subject: [PATCH] Fix build script --- scripts/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index e3a0ed08de..498b345eeb 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,7 +1,8 @@ #! /bin/bash -echo "Starting build.Should" +echo "Starting build" # The build script; we build the application step by step as building everything at once takes too much RAM # Should be run from the repository root +# This is the main deployment script rm -rf dist/* rm -rf .cache mkdir dist 2> /dev/null @@ -10,8 +11,10 @@ mkdir dist/assets 2> /dev/null npm run generate npm run test npm run generate:editor-layer-index +npm run generate:translations npm run generate:layouts + # Copy the layer files, as these might contain assets (e.g. svgs) cp -r assets/layers/ dist/assets/layers/ cp -r assets/themes/ dist/assets/themes/