mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
update scripts
This commit is contained in:
@@ -18,3 +18,5 @@ done
|
|||||||
|
|
||||||
cd "$DIR/../demo-shell-ng2"
|
cd "$DIR/../demo-shell-ng2"
|
||||||
npm run clean
|
npm run clean
|
||||||
|
|
||||||
|
cd ${DIR}
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
"$DIR/npm-clean.sh"
|
||||||
|
|
||||||
for PACKAGE in \
|
for PACKAGE in \
|
||||||
ng2-alfresco-core \
|
ng2-alfresco-core \
|
||||||
ng2-alfresco-datatable \
|
ng2-alfresco-datatable \
|
||||||
@@ -13,5 +15,8 @@ for PACKAGE in \
|
|||||||
do
|
do
|
||||||
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||||
echo "====== PUBLISHING: ${DESTDIR} ====="
|
echo "====== PUBLISHING: ${DESTDIR} ====="
|
||||||
npm publish ${DESTDIR}
|
cd ${DESTDIR}
|
||||||
|
npm install
|
||||||
|
npm publish
|
||||||
|
cd ${DIR}
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user