fix build demo shell

This commit is contained in:
eromano
2022-07-29 15:13:41 +02:00
parent 2f4ba4d630
commit 73efd4a563
1246 changed files with 28649 additions and 17760 deletions

View File

@@ -8,10 +8,10 @@ echo "====== Run lib ====="
if [ "$CI" = "true" ]; then
echo "Building libs for production"
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build --all --prod || exit 1
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build --all --prod --exclude=demoshell || exit 1
else
echo "Building libs for development"
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build --all || exit 1
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build --all --exclude=demoshell || exit 1
fi
echo "====== run core ====="
@@ -35,10 +35,7 @@ echo "====== Run testing ====="
echo "====== Run Cli ====="
./scripts/build/build-cli.sh || exit 1
echo "====== Prebuilt Themes ====="
./build-themes.sh || exit 1
echo "====== Copy schema ====="
cp lib/core/app-config/schema.json lib/dist/core/app.config.schema.json
cp lib/core/src/lib/app-config/schema.json lib/dist/core/app.config.schema.json