This commit is contained in:
Andrew Tomaka 2016-08-13 16:06:49 -04:00
parent 02f1e08bf8
commit eff7e9d880
10 changed files with 81 additions and 357 deletions

View file

@ -5,11 +5,24 @@ symlinks = $(shell ls $(excludes) `pwd`)
all: install
install: repos $(symlinks)
install: plug-vim $(symlinks)
repos:
if test ! -d ~/.vim/bundle/vundle ; then \
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/vundle ; \
plug-vim:
if test ! -d ~/.vim/autoload/plug.vim ; then \
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ; \
fi
rbenv: rbenv-base rbenv-build
rbenv-base:
if test ! -d ~/.rbenv ; then \
git clone https://github.com/rbenv/rbenv.git ~/.rbenv ; \
fi
rbenv-build:
if test ! -d ~/.rbenv/plugins/ruby-build ; then \
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build ; \
fi
$(symlinks):