token option

This commit is contained in:
Eugenio Romano 2017-05-12 15:26:15 +01:00
parent 72704cad57
commit 404ea5c852

View File

@ -70,7 +70,8 @@ while [[ $1 == -* ]]; do
-h|--help|-\?) show_help; exit 0;; -h|--help|-\?) show_help; exit 0;;
-t|--tag) add_tag $2; shift 2;; -t|--tag) add_tag $2; shift 2;;
-f|--force) enable_force; shift;; -f|--force) enable_force; shift;;
-r|--registry) get_token_registry $2; shift 2;; -token) get_token_registry $2; shift 2;;
-r|--registry) enable_change_registry $2; shift 2;;
-*) echo "invalid option: $1" 1>&2; show_help; exit 0;; -*) echo "invalid option: $1" 1>&2; show_help; exit 0;;
esac esac
done done
@ -96,7 +97,7 @@ do
DESTDIR="$DIR/../ng2-components/${PACKAGE}" DESTDIR="$DIR/../ng2-components/${PACKAGE}"
echo "====== MOVE DIR: ${DESTDIR} ===== " echo "====== MOVE DIR: ${DESTDIR} ===== "
cd ${DESTDIR} cd ${DESTDIR}
echo "====== INSTALL AND CLEAN ===== " echo "====== INSTALL AND CLEAN ${PACKAGE} ===== "
npm install rimraf npm install rimraf
npm run clean npm run clean
npm install npm install