mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-11253] adf-cli - Get rid of build cli (#7932)
* Get rid of build cli * Remove duplication * Remove build-cli.sh script
This commit is contained in:
parent
65e0961a18
commit
cebe2501fa
@ -128,7 +128,6 @@ jobs:
|
|||||||
name: "Demo Shell & Storybook :Build && dockerize"
|
name: "Demo Shell & Storybook :Build && dockerize"
|
||||||
before_script:
|
before_script:
|
||||||
- NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx run cli:build --prod
|
- NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx run cli:build --prod
|
||||||
- ./scripts/build/build-cli.sh
|
|
||||||
script:
|
script:
|
||||||
# Build Demo shell & Storybook for production docker"
|
# Build Demo shell & Storybook for production docker"
|
||||||
- NODE_OPTIONS=--max_old_space_size=8192 nx build demoshell --configuration production
|
- NODE_OPTIONS=--max_old_space_size=8192 nx build demoshell --configuration production
|
||||||
|
@ -868,7 +868,7 @@
|
|||||||
"builder": "@nrwl/workspace:run-commands",
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
"cd lib/cli && npm i && npm run dist"
|
"cd lib/cli && npm i && npm run dist && nx run cli:copydist"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
|
@ -8,7 +8,7 @@ echo "====== Run lib ====="
|
|||||||
|
|
||||||
if [ "$CI" = "true" ]; then
|
if [ "$CI" = "true" ]; then
|
||||||
echo "Building libs for production with NX_FLAG $NX_CALCULATION_FLAGS"
|
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,cli,testing" || exit 1
|
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell,testing" || exit 1
|
||||||
else
|
else
|
||||||
echo "Building libs for development with NX_FLAG $NX_CALCULATION_FLAGS"
|
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
|
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --exclude=demoshell || exit 1
|
||||||
@ -19,8 +19,3 @@ echo "====== run core ====="
|
|||||||
|
|
||||||
echo "====== Run testing ====="
|
echo "====== Run testing ====="
|
||||||
./scripts/build/build-testing.sh || exit 1
|
./scripts/build/build-testing.sh || exit 1
|
||||||
|
|
||||||
echo "====== Run Cli ====="
|
|
||||||
./scripts/build/build-cli.sh || exit 1
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
|
|
||||||
cd $DIR/../../lib/cli/
|
|
||||||
|
|
||||||
echo "====== Cli ======"
|
|
||||||
|
|
||||||
cd $DIR/../../
|
|
||||||
cp -R ./lib/cli/dist dist/libs/cli/
|
|
||||||
cp ./lib/cli/README.md dist/libs/cli/README.md
|
|
||||||
|
|
||||||
echo "====== Cli Move to node_modules ======"
|
|
||||||
nx build cli
|
|
||||||
nx run cli:copydist
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user