New packages org (#2639)

New packages org
This commit is contained in:
Eugenio Romano
2017-11-16 14:12:52 +00:00
committed by GitHub
parent 6a24c6ef75
commit a52bb5600a
1984 changed files with 17179 additions and 40423 deletions

View File

@@ -16,30 +16,16 @@ eval JSAPI_VERSION=""
eval NG2_COMPONENTS_VERSION=""
eval GIT_ISH=""
eval projects=( "ng2-alfresco-core"
"ng2-alfresco-datatable"
"ng2-alfresco-upload"
"ng2-activiti-diagrams"
"ng2-activiti-analytics"
"ng2-activiti-form"
"ng2-activiti-tasklist"
"ng2-activiti-processlist"
"ng2-alfresco-documentlist"
"ng2-alfresco-login"
"ng2-alfresco-search"
"ng2-alfresco-social"
"ng2-alfresco-tag"
"ng2-alfresco-social"
"ng2-alfresco-viewer"
"ng2-alfresco-webscript"
"ng2-alfresco-userinfo" )
eval projects=( "@alfresco/core"
"@alfresco/content-service"
"@alfresco/process-service" )
show_help() {
echo "Usage: start.sh"
echo ""
echo "-ss or -skipstart build only the demo shell without start"
echo "-si or -skipinstall start the demo shell and skip the install the dependencies"
echo "-dev or -develop start the demo shell using the relative ng2-components folder to link the components"
echo "-dev or -develop start the demo shell using the relative lib folder to link the components"
echo "-dist create the disbuild the demo shell in dist mode"
echo "-t or -test execute test"
echo "-u or -update start the demo shell and update the dependencies"
@@ -139,7 +125,7 @@ while [[ $1 == -* ]]; do
esac
done
cd "$DIR/../demo-shell-ng2"
cd "$DIR/../demo-shell"
if $EXEC_CLEAN == true; then
echo "====== Clean Demo shell ====="
@@ -153,14 +139,14 @@ if $EXEC_INSTALL == true; then
fi
if $EXEC_DEVELOP == true; then
echo "====== Install node_modules ng2-components ====="
cd "$DIR/../ng2-components"
echo "====== Install node_modules components ====="
cd "$DIR/../lib"
npm install
cd "$DIR/../demo-shell-ng2"
cd "$DIR/../demo-shell"
fi
if $EXEC_VERSION == true; then
echo "====== Install version "${NG2_COMPONENTS_VERSION}" of ng2-components ====="
echo "====== Install version "${NG2_COMPONENTS_VERSION}" of components ====="
if [[ "${EXEC_DEVELOP}" == "" ]]
then
@@ -177,26 +163,26 @@ fi
if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then
echo "====== Use the alfresco JS-API '$GIT_ISH'====="
npm install $GIT_ISH --no-save
cd "$DIR/../demo-shell-ng2/node_modules/alfresco-js-api"
cd "$DIR/../demo-shell/node_modules/alfresco-js-api"
npm install
if $EXEC_DEVELOP == true; then
cd "$DIR/../ng2-components/"
cd "$DIR/../lib/"
npm install $GIT_ISH --no-save
cd "$DIR/../ng2-components/node_modules/alfresco-js-api"
cd "$DIR/../lib/node_modules/alfresco-js-api"
npm install
fi
cd "$DIR/../demo-shell-ng2"
cd "$DIR/../demo-shell"
fi
if $EXEC_VERSION_JSAPI == true; then
echo "====== Use the alfresco JS-API '$JSAPI_VERSION'====="
npm install alfresco-js-api@${JSAPI_VERSION}
if $EXEC_DEVELOP == true; then
echo "====== Install node_modules ng2-components ====="
cd "$DIR/../ng2-components/"
echo "====== Install node_modules components ====="
cd "$DIR/../lib/"
npm install alfresco-js-api@${JSAPI_VERSION} --no-save
fi
cd "$DIR/../demo-shell-ng2"
cd "$DIR/../demo-shell"
fi
if $EXEC_TEST == true; then