mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
production builds for CI runs
This commit is contained in:
@@ -6,7 +6,14 @@ cd $DIR/../..
|
||||
|
||||
echo "====== Content Services ======"
|
||||
echo "====== Build ======"
|
||||
npm run ng -- build content-services || exit 1
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building content-services for production"
|
||||
npm run ng -- build content-services --prod || exit 1
|
||||
else
|
||||
echo "Building content-services for development"
|
||||
npm run ng -- build content-services || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-content-services-scss.js || exit 1
|
||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
||||
|
||||
echo "====== Core ======"
|
||||
echo "====== Build ======"
|
||||
npm run ng -- build core|| exit 1
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building core for production"
|
||||
npm run ng -- build core --prod || exit 1
|
||||
else
|
||||
echo "Building core for development"
|
||||
npm run ng -- build core || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-core-scss.js || exit 1
|
||||
|
@@ -4,4 +4,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../..
|
||||
|
||||
npm run ng -- build extensions
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building extensions for production"
|
||||
npm run ng -- build extensions --prod || exit 1
|
||||
else
|
||||
echo "Building extensions for development"
|
||||
npm run ng -- build extensions || exit 1
|
||||
fi
|
||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
||||
|
||||
echo "====== Insights ======"
|
||||
echo "====== Build ======"
|
||||
npm run ng -- build insights || exit 1
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building insights for production"
|
||||
npm run ng -- build insights --prod || exit 1
|
||||
else
|
||||
echo "Building insights for development"
|
||||
npm run ng -- build insights || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-insights-scss.js || exit 1
|
||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
||||
|
||||
echo "====== Process Services Cloud ======"
|
||||
echo "====== Build ======"
|
||||
npm run ng -- build process-services-cloud || exit 1
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building process-services-cloud for production"
|
||||
npm run ng -- build process-services-cloud --prod || exit 1
|
||||
else
|
||||
echo "Building process-services-cloud for development"
|
||||
npm run ng -- build process-services-cloud || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-process-services-cloud-scss.js || exit 1
|
||||
|
@@ -6,7 +6,14 @@ cd $DIR/../..
|
||||
|
||||
echo "====== Process Services ======"
|
||||
echo "====== Build ======"
|
||||
npm run ng -- build process-services || exit 1
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building process-services for production"
|
||||
npm run ng -- build process-services --prod || exit 1
|
||||
else
|
||||
echo "Building process-services for development"
|
||||
npm run ng -- build process-services || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-process-services-scss.js || exit 1
|
||||
|
@@ -6,4 +6,11 @@ cd $DIR/../..
|
||||
|
||||
echo "====== Testing ======"
|
||||
echo "====== Build ======"
|
||||
npm run ng -- build testing || exit 1
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building testing for production"
|
||||
npm run ng -- build testing --prod || exit 1
|
||||
else
|
||||
echo "Building testing for development"
|
||||
npm run ng -- build testing || exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user