2011-12-08 12:34:25 +08:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
require File.join(File.dirname(__FILE__), 'default_libs')
|
|
|
|
|
|
|
|
GitStyleBinary.command do
|
2012-01-25 15:04:37 +08:00
|
|
|
version "yadr-vim-update-plugins 1.0"
|
|
|
|
short_desc "Update all vim plugins to latest versions from github"
|
2011-12-08 12:34:25 +08:00
|
|
|
|
|
|
|
run do |command|
|
2012-01-25 15:04:37 +08:00
|
|
|
`cd "#{$yadr}" && git submodule foreach git pull origin master`
|
2011-12-08 12:34:25 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|