diff --git a/shell_dotfiles/_functions b/shell_dotfiles/_functions new file mode 100644 index 0000000..847a1d8 --- /dev/null +++ b/shell_dotfiles/_functions @@ -0,0 +1,6 @@ +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 \ + } diff --git a/shell_dotfiles/_gitconfig b/shell_dotfiles/_gitconfig index d2b1968..589d69d 100644 --- a/shell_dotfiles/_gitconfig +++ b/shell_dotfiles/_gitconfig @@ -197,4 +197,4 @@ insteadOf = "gist:" [user] name = Martin Donnelly - email = martind2000@gmail.com + email = martin@fsbtech.com