mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix scripts npm
This commit is contained in:
@@ -3,32 +3,31 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR
|
||||
|
||||
|
||||
echo "====== Run lib ====="
|
||||
|
||||
echo "====== Run extensions ====="
|
||||
./build-extensions.sh
|
||||
./build-extensions.sh || exit 1
|
||||
|
||||
echo "====== run core ====="
|
||||
./build-core.sh
|
||||
./build-core.sh || exit 1
|
||||
|
||||
echo "====== Run content-services ====="
|
||||
./build-content-services.sh
|
||||
./build-content-services.sh || exit 1
|
||||
|
||||
echo "====== Run process-services ====="
|
||||
./build-process-services.sh
|
||||
./build-process-services.sh || exit 1
|
||||
|
||||
echo "====== Run insights ====="
|
||||
./build-insights.sh
|
||||
./build-insights.sh || exit 1
|
||||
|
||||
echo "====== Run process-services-cloud ====="
|
||||
./build-process-services-cloud.sh
|
||||
./build-process-services-cloud.sh || exit 1
|
||||
|
||||
echo "====== Run testing ====="
|
||||
./build-testing.sh
|
||||
./build-testing.sh || exit 1
|
||||
|
||||
echo "====== Run Cli ====="
|
||||
./build-cli.sh
|
||||
./build-cli.sh || exit 1
|
||||
|
||||
echo "====== Copy schema ====="
|
||||
|
||||
|
@@ -68,4 +68,4 @@ if $EXEC_VERSION_JSAPI == true; then
|
||||
fi
|
||||
|
||||
echo "====== Build components ====="
|
||||
npm run build-lib || exit 1
|
||||
./scripts/build/build-all-lib.sh
|
||||
|
@@ -33,13 +33,15 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "The branch name to check is $BRANCH_NAME"
|
||||
|
||||
if $GNU; then
|
||||
gnu='-gnu'
|
||||
else
|
||||
gnu=''
|
||||
fi
|
||||
|
||||
if [ $BRANCH_NAME == 'undefined' ]; then
|
||||
if [ $BRANCH_NAME == "undefined" ]; then
|
||||
echo "Rebase your branch"
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user