From b41c81f4a2388cddab85ee86a4c8b17d6e5614f3 Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Mon, 18 Jul 2016 19:15:24 +0100 Subject: [PATCH] add module to ci --- .travis.yml | 4 ++-- appveyor.yml | 3 +++ ng2-components/ng2-alfresco-webscript/package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d7431ea22..01f77d2897 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,14 +32,14 @@ before_script: - if ([ "$MODULE" != "ng2-alfresco-core" ] && [ "$MODULE" != "ng2-alfresco-viewer" ]); then (cd ng2-components/ng2-alfresco-core; npm install; npm link); fi - - if [[ "$MODULE" == "ng2-alfresco-documentlist" ]]; then + - if ([ "$MODULE" == "ng2-alfresco-documentlist" ] || [ "$MODULE" == "ng2-alfresco-webscript" ]); then (cd ng2-components/ng2-alfresco-datatable;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; fi - - if [[ "$MODULE" == "ng2-alfresco-documentlist" ]]; then + - if ([ "$MODULE" == "ng2-alfresco-documentlist" ] || [ "$MODULE" == "ng2-alfresco-webscript" ]); then npm link ng2-alfresco-datatable; fi - npm install; diff --git a/appveyor.yml b/appveyor.yml index adc7eaaf1f..d952249c71 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,6 +14,7 @@ environment: - COMPONENT_NAME: ng2-alfresco-search - COMPONENT_NAME: ng2-alfresco-upload - COMPONENT_NAME: ng2-alfresco-viewer + - COMPONENT_NAME: ng2-alfresco-webscript # Install scripts. (runs after repo cloning) install: @@ -22,9 +23,11 @@ install: # install module - IF %COMPONENT_NAME% NEQ ng2-alfresco-core (cd ng2-components/ng2-alfresco-core && npm install && npm link && cd ../../) - 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-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-alfresco-webscript (npm link ng2-alfresco-datatable) - npm install # Post-install test scripts. diff --git a/ng2-components/ng2-alfresco-webscript/package.json b/ng2-components/ng2-alfresco-webscript/package.json index 42b49c0fd8..4d7c0a9540 100644 --- a/ng2-components/ng2-alfresco-webscript/package.json +++ b/ng2-components/ng2-alfresco-webscript/package.json @@ -1,6 +1,6 @@ { "name": "ng2-alfresco-webscript", - "description": "webscript executor", + "description": "Alfresco webscript executor", "version": "0.1.0", "author": "Alfresco Software, Ltd.", "main": "./dist/index.js",