dotfiles/Makefile

32 lines
658 B
Makefile
Raw Normal View History

2015-03-26 13:26:05 -04:00
all: install
2021-05-13 09:35:10 -04:00
install: plug-vim
stow bin git nvim ruby tmux vim zsh
2016-08-13 16:06:49 -04:00
plug-vim:
if test ! -f ~/.vim/autoload/plug.vim ; then \
2016-08-13 16:06:49 -04:00
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
2015-03-26 13:26:05 -04:00
2021-05-13 09:35:10 -04:00
update: update-repo
2015-03-26 13:26:05 -04:00
update-repo:
git pull --rebase
2021-05-13 21:42:40 -04:00
clean:
2021-05-13 21:50:56 -04:00
rm -f $$HOME/bin/,
2021-05-13 21:42:40 -04:00
bash remove-symlinks