Browse files

add rake task to update the submodules

  • Loading branch information...
luxflux authored and mislav committed Jan 11, 2012
1 parent 835b0a8 commit 1cce443357c34996e9095fb9103a6271640c512b
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
@@ -6,6 +6,11 @@ task :update do
sh "git submodule update --init"
+desc %(Update submodules to HEAD)
+task :pull_submodules do
+ sh "git submodule foreach git pull origin master >/dev/null"
desc %(Make ~/.vimrc and ~/.gvimrc symlinks)
task :link do
%w[vimrc gvimrc].each do |script|

0 comments on commit 1cce443

Please sign in to comment.