Closed iam4x closed 10 years ago
Added support of downloading the latest boilerplate from github
All my code is commented, but here is a summup of my strategy:
This our module, it's a Promise, it will be used to create our theme directory or to clean git, then it will clone the bones repository.
bones
I prefered to use clone, cause if something goes wrong with, the bones directory, we would have to do execute:
$ git fetch $ git reset --hard origin/master $ git pull origin master
And if the user delete the .git folder, we would have to re-create it., So it's safer, to delete and clone again.
.git
Oh and also, I've cleaned some of your files (*~ files).
Added support of downloading the latest boilerplate from github
All my code is commented, but here is a summup of my strategy:
Module: cloneBones
This our module, it's a Promise, it will be used to create our theme directory or to clean git, then it will clone the
bones
repository.I prefered to use clone, cause if something goes wrong with, the bones directory, we would have to do execute:
And if the user delete the
.git
folder, we would have to re-create it., So it's safer, to delete and clone again.Oh and also, I've cleaned some of your files (*~ files).