From 007a73a7f7014f29ffb30879cf84cd9c499edaed Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Tue, 26 Jul 2016 12:49:37 +0100 Subject: [PATCH] #463 add form to task list --- .travis.yml | 6 ++++++ appveyor.yml | 3 ++- scripts/npm-link-demo-shell.sh | 8 +++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 90d9e5ed1c..eab8b041cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,9 @@ before_script: - if ([ "$MODULE" == "ng2-alfresco-documentlist" ] || [ "$MODULE" == "ng2-alfresco-webscript" ] || [ "$MODULE" == "ng2-activiti-processlist" ] || [ "$MODULE" == "ng2-activiti-tasklist" ]); then (cd ng2-components/ng2-alfresco-datatable; npm link ng2-alfresco-core; npm install; npm link); fi + - if ([ "$MODULE" == "ng2-activiti-tasklist" ]); then + (cd ng2-components/ng2-activiti-form; npm link ng2-alfresco-core; npm install; npm link); + fi - cd ng2-components/$MODULE; - if ([ "$MODULE" != "ng2-alfresco-core" ] && [ "$MODULE" != "ng2-alfresco-viewer" ]); then npm link ng2-alfresco-core; @@ -45,6 +48,9 @@ before_script: - if ([ "$MODULE" == "ng2-alfresco-documentlist" ] || [ "$MODULE" == "ng2-alfresco-webscript" ] || [ "$MODULE" == "ng2-activiti-processlist" ] || [ "$MODULE" == "ng2-activiti-tasklist" ]); then npm link ng2-alfresco-datatable; fi + - if ([ "$MODULE" == "ng2-activiti-tasklist" ]); then + npm link ng2-activiti-form; + fi - npm install; - npm run travis - ls -ltrh ./node_modules/ diff --git a/appveyor.yml b/appveyor.yml index 4ccb4f1dfe..58802c0ba7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,12 +28,13 @@ install: - IF %COMPONENT_NAME% EQU ng2-alfresco-documentlist (cd ng2-components/ng2-alfresco-datatable && npm link ng2-alfresco-core && npm install && npm link && cd ../../) - IF %COMPONENT_NAME% EQU ng2-activiti-processlist (cd ng2-components/ng2-alfresco-datatable && npm link ng2-alfresco-core && npm install && npm link && cd ../../) - IF %COMPONENT_NAME% EQU ng2-activiti-tasklist (cd ng2-components/ng2-alfresco-datatable && npm link ng2-alfresco-core && npm install && npm link && cd ../../) + - IF %COMPONENT_NAME% EQU ng2-activiti-tasklist (cd ng2-components/ng2-activiti-form && npm link ng2-alfresco-core && npm install && npm link && cd ../../) - IF %COMPONENT_NAME% EQU ng2-alfresco-webscript (cd ng2-components/ng2-alfresco-datatable && npm link ng2-alfresco-core && npm install && npm link && cd ../../) - cd ng2-components/%COMPONENT_NAME% - IF %COMPONENT_NAME% NEQ ng2-alfresco-core (npm link ng2-alfresco-core) - IF %COMPONENT_NAME% EQU ng2-alfresco-documentlist (npm link ng2-alfresco-datatable) - IF %COMPONENT_NAME% EQU ng2-activiti-processlist (npm link ng2-alfresco-datatable) - - IF %COMPONENT_NAME% EQU ng2-activiti-tasklist (npm link ng2-alfresco-datatable) + - IF %COMPONENT_NAME% EQU ng2-activiti-tasklist (npm link ng2-alfresco-datatable && npm link ng2-activiti-form) - IF %COMPONENT_NAME% EQU ng2-alfresco-webscript (npm link ng2-alfresco-datatable) - npm install diff --git a/scripts/npm-link-demo-shell.sh b/scripts/npm-link-demo-shell.sh index 9eb10b0132..c63aab31a9 100755 --- a/scripts/npm-link-demo-shell.sh +++ b/scripts/npm-link-demo-shell.sh @@ -7,6 +7,12 @@ echo "====== linking component: ng2-alfresco-core =====" cd "$DIR/../ng2-components/ng2-alfresco-core" npm link +#LINK FORM +echo "====== linking component: ng2-activiti-form =====" +cd "$DIR/../ng2-components/ng2-activiti-form" +npm link ng2-alfresco-core +npm link + #LINK DATATABLE echo "====== linking component: ng2-alfresco-datatable =====" cd "$DIR/../ng2-components/ng2-alfresco-datatable" @@ -32,6 +38,7 @@ echo "====== linking component: ng2-activiti-tasklist =====" cd "$DIR/../ng2-components/ng2-activiti-tasklist" npm link ng2-alfresco-core npm link ng2-alfresco-datatable +npm link ng2-activiti-form npm link #LINK PROCESSLIST @@ -43,7 +50,6 @@ npm link #LINK ALL THE OTHERS COMPONENTS for PACKAGE in \ - ng2-activiti-form \ ng2-alfresco-login \ ng2-alfresco-search \ ng2-alfresco-upload \