mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
run lint after npm install
This commit is contained in:
@@ -120,10 +120,6 @@ done
|
|||||||
|
|
||||||
cd "$DIR/../"
|
cd "$DIR/../"
|
||||||
|
|
||||||
if $EXECLINT == true; then
|
|
||||||
./scripts/lint.sh || exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
if $EXEC_CLEAN == true; then
|
if $EXEC_CLEAN == true; then
|
||||||
echo "====== Clean components ====="
|
echo "====== Clean components ====="
|
||||||
npm install rimraf -g
|
npm install rimraf -g
|
||||||
@@ -135,6 +131,10 @@ if $EXEC_INSTALL == true; then
|
|||||||
npm install
|
npm install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if $EXECLINT == true; then
|
||||||
|
./scripts/lint.sh || exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then
|
if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then
|
||||||
echo "====== Use the alfresco JS-API '$GIT_ISH'====="
|
echo "====== Use the alfresco JS-API '$GIT_ISH'====="
|
||||||
npm install $GIT_ISH --no-save
|
npm install $GIT_ISH --no-save
|
||||||
|
Reference in New Issue
Block a user