Change rake file to reuse methods in vundle.rb

Vundle::update_vundle can be reused inside the Rakefile
This commit is contained in:
Fabio Gallonetto 2013-03-17 17:31:04 +00:00
parent 186e701bbd
commit 793aa0a0ae

View File

@ -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