move scripts check env in cli (#5889)

* move scripts check env in cli

* rmeove logs dep

* move scripts check env in cli

* build all
This commit is contained in:
Eugenio Romano
2020-07-17 14:56:24 +01:00
committed by GitHub
parent c3b5d1734f
commit f75151d6c6
14 changed files with 233 additions and 253 deletions

View File

@@ -23,15 +23,14 @@ then
node ./scripts/pre-publish.js
npm install
./scripts/build/build-all-lib.sh
else
echo "====== Update the package.json with latest JS-API/CLI deps ====="
npx @alfresco/adf-cli@alpha update-version --alpha --pathPackage "$(pwd)"
npm install;
nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude="cli,demoshell" --prod --with-deps || exit 1;
# nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude="cli,demoshell" --prod --with-deps || exit 1; TODO comment out when affected is fixe
fi;
./scripts/build/build-all-lib.sh
echo "====== Build Demo shell for production ====="
nx build demoshell --prod