Check for ~/.vim

This commit is contained in:
Henrik Lissner 2014-06-21 04:20:23 -04:00
parent 961112615b
commit 3e44526021

View file

@ -11,9 +11,11 @@ namespace :vim do
%w{lua luajit}.each { |pkg| Homebrew.install pkg } %w{lua luajit}.each { |pkg| Homebrew.install pkg }
%w{vim macvim}.each { |pkg| Homebrew.install(pkg, '--with-lua --with-luajit') } %w{vim macvim}.each { |pkg| Homebrew.install(pkg, '--with-lua --with-luajit') }
unless Dir.exists? (File.expand_path("~/.vim"))
github('hlissner/vim', '~/.vim') github('hlissner/vim', '~/.vim')
github('Shougo/neobundle.vim', '~/.vim/bundle/neobundle.vim') github('Shougo/neobundle.vim', '~/.vim/bundle/neobundle.vim')
end end
end
task :update => 'vim:install' do task :update => 'vim:install' do
path = File.expand_path("~/.vim") path = File.expand_path("~/.vim")