Make installation more faster

Clone only the latest history
This commit is contained in:
Mulia Arifandi Nasution 2015-03-14 00:29:11 +07:00
parent 2e53da3dcd
commit 17fbcc3292

View File

@ -2,7 +2,7 @@
if [ ! -d "$HOME/.yadr" ]; then
echo "Installing YADR for the first time"
git clone https://github.com/skwp/dotfiles.git "$HOME/.yadr"
git clone --depth=1 https://github.com/skwp/dotfiles.git "$HOME/.yadr"
cd "$HOME/.yadr"
[ "$1" = "ask" ] && export ASK="true"
rake install