mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* run builds scripts sequentially * temporary enable prod builds * use ng instead of nx for adf-core * increase mem * downgrage the ts target * downgrade main tsconfig * update config * downgrade scss-bundle * raise mem only for prod builds * restore dev build * update angular cdk * try restore build target * upgrade unit tests after angular upgrade * fix tests after angular upgrade * remove old e2e
15 lines
339 B
Bash
Executable File
15 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $DIR/../..
|
|
|
|
|
|
if [ "$CI" = "true" ]; then
|
|
echo "Building extensions for production"
|
|
NODE_OPTIONS="--max-old-space-size=8192" nx build extensions --prod || exit 1
|
|
else
|
|
echo "Building extensions for development"
|
|
nx build extensions || exit 1
|
|
fi
|