Change rake file to reuse methods in vundle.rb
Vundle::update_vundle can be reused inside the Rakefile
This commit is contained in:
parent
186e701bbd
commit
793aa0a0ae
3
Rakefile
3
Rakefile
@ -1,5 +1,6 @@
|
||||
require 'rake'
|
||||
require 'fileutils'
|
||||
require File.join(File.dirname(__FILE__), 'bin', 'yadr', 'vundle')
|
||||
|
||||
desc "Hook our dotfiles into system-standard positions."
|
||||
task :install => [:submodule_init, :submodules] do
|
||||
@ -107,7 +108,7 @@ task :install_vundle do
|
||||
puts "Press a key to continue"
|
||||
STDIN.getc
|
||||
|
||||
system "vim --noplugin -u vim/vundles.vim -N \"+set hidden\" \"+syntax on\" +BundleClean +BundleInstall +qall"
|
||||
Vundle::update_vundle
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user