diff --git a/scripts/npm-build-all.sh b/scripts/npm-build-all.sh index a191aeef09..0d149526c8 100755 --- a/scripts/npm-build-all.sh +++ b/scripts/npm-build-all.sh @@ -120,10 +120,6 @@ done cd "$DIR/../" -if $EXECLINT == true; then - ./scripts/lint.sh || exit 1; -fi - if $EXEC_CLEAN == true; then echo "====== Clean components =====" npm install rimraf -g @@ -135,6 +131,10 @@ if $EXEC_INSTALL == true; then npm install fi +if $EXECLINT == true; then + ./scripts/lint.sh || exit 1; +fi + if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then echo "====== Use the alfresco JS-API '$GIT_ISH'=====" npm install $GIT_ISH --no-save