mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix start link script
This commit is contained in:
@@ -2,22 +2,41 @@
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
#LINK CORE
|
||||
echo "====== linking component: ng2-alfresco-core ====="
|
||||
cd "$DIR/../ng2-components/ng2-alfresco-core"
|
||||
npm link
|
||||
|
||||
#LINK DATATABLE
|
||||
echo "====== linking component: ng2-alfresco-datatable ====="
|
||||
cd "$DIR/../ng2-components/ng2-alfresco-datatable"
|
||||
npm link ng2-alfresco-core
|
||||
npm link
|
||||
|
||||
#LINK DOCUMENTLIST
|
||||
echo "====== linking component: ng2-alfresco-documentlist ====="
|
||||
cd "$DIR/../ng2-components/ng2-alfresco-documentlist"
|
||||
npm link ng2-alfresco-core
|
||||
npm link ng2-alfresco-datatable
|
||||
npm link
|
||||
|
||||
#LINK ALL THE OTHERS COMPONENTS
|
||||
for PACKAGE in \
|
||||
ng2-alfresco-core \
|
||||
ng2-alfresco-datatable \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer
|
||||
do
|
||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||
echo "====== linking component: ${DESTDIR} ====="
|
||||
npm link ${DESTDIR} --access public
|
||||
echo "====== linking component: ${PACKAGE} ====="
|
||||
cd "$DESTDIR"
|
||||
npm link ng2-alfresco-core
|
||||
npm link
|
||||
done
|
||||
|
||||
cd "$DIR/../demo-shell-ng2"
|
||||
|
||||
#LINK ALL THE COMPONENTS INSIDE THE DEMOSHELL
|
||||
cd "$DIR/../demo-shell-ng2"
|
||||
for PACKAGE in \
|
||||
ng2-alfresco-core \
|
||||
ng2-alfresco-datatable \
|
||||
|
Reference in New Issue
Block a user