From 793aa0a0aec6a5e08d0d8728f9b98426f260eb9a Mon Sep 17 00:00:00 2001 From: Fabio Gallonetto Date: Sun, 17 Mar 2013 17:31:04 +0000 Subject: [PATCH] Change rake file to reuse methods in vundle.rb Vundle::update_vundle can be reused inside the Rakefile --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 0d29fe3..8086508 100644 --- a/Rakefile +++ b/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