Skip to content

Commit

Permalink
Move the build demoshell as last step and exclude for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziovitale authored and adomi committed Jul 16, 2020
1 parent d0a4535 commit d8367a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/travis/build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ then

./scripts/build/build-all-lib.sh

echo "====== Build Demo shell for production ====="
npm run build:prod || exit 1;

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 --prod --with-deps || exit 1;
nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude="cli,demoshell" --prod --with-deps || exit 1;
fi;

echo "====== Build Demo shell for production ====="
nx build demoshell --prod

0 comments on commit d8367a1

Please sign in to comment.