Created
September 3, 2018 21:26
-
-
Save guiguetz/efcbf37ce6eac0b14103e4ce8b8f9efc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Insira o nome do projeto:" | |
read projname | |
echo "Insira o nome do projeto:" | |
read projprefix | |
ng new ${projname} --prefix ${projprefix} | |
cd ${projname} | |
echo "Insira o nome da biblioteca:" | |
read libname | |
echo "Insira o prefixo da biblioteca:" | |
read libprefix | |
ng generate library ${libname} --prefix ${libprefix} | |
"Insira um nome de component teste:" | |
read compname | |
ng generate component ${compname} --project=${libname} | |
ng build ${libname} | |
ng serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment