mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* fix sourcemap fix relative path and pre publish build change travis wait all test run build and remove unused cpx * global test task modify publish script to accept options * appveyor run * different approach single test run * make it work the analytics test modify start demo shell script to use a different registry * sourcemap demo shell working * update readme and add install after any clean add registry option in start.sh script add develop and normal mode in demo shell add -d option in start.sh to point to the local components add -c option in build script to point to the local components
45 lines
1.0 KiB
Bash
Executable File
45 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
eval projects=( "ng2-activiti-diagrams"
|
|
"ng2-activiti-analytics"
|
|
"ng2-activiti-form"
|
|
"ng2-activiti-processlist"
|
|
"ng2-activiti-tasklist"
|
|
"ng2-alfresco-core"
|
|
"ng2-alfresco-datatable"
|
|
"ng2-alfresco-documentlist"
|
|
"ng2-alfresco-login"
|
|
"ng2-alfresco-search"
|
|
"ng2-alfresco-social"
|
|
"ng2-alfresco-tag"
|
|
"ng2-alfresco-social"
|
|
"ng2-alfresco-upload"
|
|
"ng2-alfresco-viewer"
|
|
"ng2-alfresco-webscript"
|
|
"ng2-alfresco-userinfo" )
|
|
|
|
npm install rimraf
|
|
|
|
for PACKAGE in ${projects[@]}
|
|
do
|
|
echo "====== clean component: ${PACKAGE} ====="
|
|
cd "$DIR/../ng2-components/${PACKAGE}"
|
|
npm run clean
|
|
|
|
if [ -d "$DIR/../ng2-components/${PACKAGE}/demo" ]; then
|
|
echo "====== clean component demo: ${PACKAGE} ====="
|
|
cd "$DIR/../ng2-components/${PACKAGE}/demo"
|
|
npm run clean
|
|
fi
|
|
done
|
|
|
|
cd "$DIR/../demo-shell-ng2"
|
|
npm run clean
|
|
|
|
cd "$DIR/../ng2-components"
|
|
npm run clean
|
|
|
|
cd ${DIR}
|