mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
add module to ci
This commit is contained in:
parent
60106239b7
commit
b41c81f4a2
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user