From 545879f0903b97b3b126dcc8a4855d7098cde2ef Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 23 May 2017 17:16:26 +0100 Subject: [PATCH] appveyor split --- appveyor.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e67a197745..11d008ca18 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,8 @@ environment: nodejs_version: "6" matrix: - - COMPONENT_NAME: ng2-components + - COMPONENT_NAME: ng2-components-activiti + - COMPONENT_NAME: ng2-components-alfresco - COMPONENT_NAME: ng2-demo-shell # Install scripts. (runs after repo cloning) @@ -17,13 +18,19 @@ install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version # install module - - if %COMPONENT_NAME% EQU ng2-components ( + - if %COMPONENT_NAME% EQU ng2-components-activiti ( if %APPVEYOR_REPO_BRANCH EQU master - (cd scripts && sh npm-build-all.sh -t || exit 1) + (cd scripts && sh npm-build-all.sh -t "ng2-activiti*" || exit 1) else - (cd scripts && sh npm-build-all.sh -t -gitjsapi development|| exit 1) + (cd scripts && sh npm-build-all.sh -t "ng2-activiti*" -gitjsapi development|| exit 1) ) - - if %COMPONENT_NAME% EQU g2-demo-shell ( + - if %COMPONENT_NAME% EQU ng2-components-alfresco ( + if %APPVEYOR_REPO_BRANCH EQU master + (cd scripts && sh npm-build-all.sh -t "ng2-alfresco*" || exit 1) + else + (cd scripts && sh npm-build-all.sh -t "ng2-alfresco*" -gitjsapi development|| exit 1) + ) + - if %COMPONENT_NAME% EQU ng2-demo-shell ( if %APPVEYOR_REPO_BRANCH EQU master (cd scripts && sh start.sh -t -ss || exit 1) else