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:
@@ -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
|
||||
|
Reference in New Issue
Block a user