no save development js-api (#2033) (#2034)

This commit is contained in:
Eugenio Romano
2017-06-30 18:13:08 +01:00
committed by GitHub
parent b3ae674f7a
commit b30ec26213
55 changed files with 7633 additions and 8152 deletions

View File

@@ -176,12 +176,12 @@ fi
if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then
echo "====== Use the alfresco JS-API '$GIT_ISH'====="
npm install $GIT_ISH
npm install $GIT_ISH --no-save
cd "$DIR/../demo-shell-ng2/node_modules/alfresco-js-api"
npm install
if $EXEC_DEVELOP == true; then
cd "$DIR/../ng2-components/"
npm install $GIT_ISH
npm install $GIT_ISH --no-save
cd "$DIR/../ng2-components/node_modules/alfresco-js-api"
npm install
fi
@@ -190,11 +190,11 @@ fi
if $EXEC_VERSION_JSAPI == true; then
echo "====== Use the alfresco JS-API '$JSAPI_VERSION'====="
npm install alfresco-js-api@${JSAPI_VERSION}
npm install alfresco-js-api@${JSAPI_VERSION} --no-save
if $EXEC_DEVELOP == true; then
echo "====== Install node_modules ng2-components ====="
cd "$DIR/../ng2-components/"
npm install alfresco-js-api@${JSAPI_VERSION}
npm install alfresco-js-api@${JSAPI_VERSION} --no-save
fi
cd "$DIR/../demo-shell-ng2"
fi