From 7f4e301ec0574370f335d74b41ad986f843f3b95 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 24 May 2019 13:00:58 +0100 Subject: [PATCH] run lint after npm install --- scripts/npm-build-all.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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