mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
8959476941
commit
0b246b8211
@@ -10,7 +10,6 @@ show_help() {
|
||||
echo "-i or -install start the demo shell and install the dependencies"
|
||||
echo "-u or -update start the demo shell and update the dependencies"
|
||||
echo "-c or -cleanInstall clean the demo shell install the dependencies and start the the demo shell"
|
||||
echo "-l or -link all the ng2-components in the demo shell and start the the demo shell"
|
||||
}
|
||||
|
||||
install() {
|
||||
@@ -27,22 +26,6 @@ cleanInstall() {
|
||||
npm install
|
||||
}
|
||||
|
||||
link() {
|
||||
echo "link"
|
||||
"$DIR/npm-link-demo-shell.sh"
|
||||
}
|
||||
|
||||
eval args=("$@");
|
||||
|
||||
while [[ $1 == -* ]]; do
|
||||
case "$1" in
|
||||
-l|--link) link; shift;;
|
||||
-*) shift;;
|
||||
esac
|
||||
done
|
||||
|
||||
set -- "${args[@]}";
|
||||
|
||||
while [[ $1 == -* ]]; do
|
||||
case "$1" in
|
||||
-h|--help|-\?) show_help; exit 0;;
|
||||
|
Reference in New Issue
Block a user