7 lines
329 B
Plaintext
7 lines
329 B
Plaintext
|
function appBoilerplate(){
|
||
|
git clone -b boilerplates --depth=1 git@gitlab.dev.fsbtech.com:frontend/whitelabel-utils.git boilerplates \
|
||
|
&& cp -r boilerplates/core_app/ ./$1_app || rm -rf boilerplates \
|
||
|
&& rm -rf boilerplates \
|
||
|
&& for i in $1_app/*genericAppName* ; do mv "$i" "${i/genericAppName/$1}" ; done \
|
||
|
}
|