mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Remove unused scripts. Yeahgit add . (#7946)
This commit is contained in:
parent
033307f2b9
commit
7c04b59ddb
@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR
|
||||
cd ../../
|
||||
rm -rf dist/libs
|
||||
echo "====== Run lib ====="
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building libs for production with NX_FLAG $NX_CALCULATION_FLAGS"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell" || exit 1
|
||||
else
|
||||
echo "Building libs for development with NX_FLAG $NX_CALCULATION_FLAGS"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --exclude=demoshell || exit 1
|
||||
fi
|
||||
|
||||
echo "====== run core ====="
|
||||
./scripts/build/build-core.sh || exit 1
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../..
|
||||
|
||||
echo "====== Core ======"
|
||||
|
||||
echo "====== Prebuilt Themes ====="
|
||||
nx affected $NX_CALCULATION_FLAGS --target=pretheme
|
@ -1,34 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../../../
|
||||
|
||||
rm -rf tmp && mkdir tmp;
|
||||
|
||||
npx @alfresco/adf-cli@alpha update-commit-sha --pointer "HEAD" --pathPackage "$(pwd)"
|
||||
|
||||
if [ $TRAVIS_EVENT_TYPE == "push" ] || [ $TRAVIS_EVENT_TYPE == "cron" ] || [ $TRAVIS_EVENT_TYPE == "api" ]
|
||||
then
|
||||
|
||||
if [[ $TRAVIS_BRANCH =~ ^develop(-patch.*)?$ ]] || [[ $TRAVIS_EVENT_TYPE == "cron" ]] || [[ $TRAVIS_EVENT_TYPE == "api" ]]
|
||||
then
|
||||
isSameADFSha=$(node ./scripts/travis/update/adf-same-commit-verify.js --token=$TOKEN --head=$BRANCH_TO_CREATE --repo=$NAME_REPO --commit=$COMMIT )
|
||||
if [ "$isSameADFSha" = 'true' ]; then
|
||||
echo 'ADF sha is the same. No need to publish again on NPM'
|
||||
else
|
||||
echo "Replace NPM version with new Alpha tag"
|
||||
NEXT_VERSION=-nextalpha
|
||||
./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1;
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $TRAVIS_BRANCH =~ angular-14-rebase ]]
|
||||
then
|
||||
./scripts/update-version.sh -gnu -nextalpha || exit 1;
|
||||
fi
|
||||
|
||||
node ./scripts/pre-publish.js
|
||||
fi;
|
||||
|
||||
./scripts/build/build-all-lib.sh
|
Loading…
x
Reference in New Issue
Block a user