From 4f663b2be080801257e766142fe882b900062dec Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Wed, 27 Jul 2016 16:37:28 +0100 Subject: [PATCH] fix linking script --- scripts/npm-link-demo-shell.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/scripts/npm-link-demo-shell.sh b/scripts/npm-link-demo-shell.sh index c63aab31a9..d2b0d0678a 100755 --- a/scripts/npm-link-demo-shell.sh +++ b/scripts/npm-link-demo-shell.sh @@ -6,18 +6,24 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "====== linking component: ng2-alfresco-core =====" cd "$DIR/../ng2-components/ng2-alfresco-core" npm link +npm run typings +npm run build #LINK FORM echo "====== linking component: ng2-activiti-form =====" cd "$DIR/../ng2-components/ng2-activiti-form" npm link ng2-alfresco-core npm link +npm run typings +npm run build #LINK DATATABLE echo "====== linking component: ng2-alfresco-datatable =====" cd "$DIR/../ng2-components/ng2-alfresco-datatable" npm link ng2-alfresco-core npm link +npm run typings +npm run build #LINK DOCUMENTLIST echo "====== linking component: ng2-alfresco-documentlist =====" @@ -25,6 +31,8 @@ cd "$DIR/../ng2-components/ng2-alfresco-documentlist" npm link ng2-alfresco-core npm link ng2-alfresco-datatable npm link +npm run typings +npm run build #LINK WEBSCRIPT echo "====== linking component: ng2-alfresco-webscript =====" @@ -32,6 +40,8 @@ cd "$DIR/../ng2-components/ng2-alfresco-webscript" npm link ng2-alfresco-core npm link ng2-alfresco-datatable npm link +npm run typings +npm run build #LINK TASKLIST echo "====== linking component: ng2-activiti-tasklist =====" @@ -40,6 +50,8 @@ npm link ng2-alfresco-core npm link ng2-alfresco-datatable npm link ng2-activiti-form npm link +npm run typings +npm run build #LINK PROCESSLIST echo "====== linking component: ng2-activiti-processlist =====" @@ -47,6 +59,8 @@ cd "$DIR/../ng2-components/ng2-activiti-processlist" npm link ng2-alfresco-core npm link ng2-alfresco-datatable npm link +npm run typings +npm run build #LINK ALL THE OTHERS COMPONENTS for PACKAGE in \ @@ -61,6 +75,8 @@ do cd "$DESTDIR" npm link ng2-alfresco-core npm link + npm run typings + npm run build done @@ -82,4 +98,4 @@ do DESTDIR="$DIR/../ng2-components/${PACKAGE}" echo "====== demo shell linking: ${PACKAGE} =====" npm link ${PACKAGE} -done +done \ No newline at end of file