2011-12-08 15:27:41 +08:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
require File.join(File.dirname(__FILE__), 'default_libs')
|
|
|
|
|
|
|
|
GitStyleBinary.command do
|
2012-01-25 03:44:47 +08:00
|
|
|
version "yadr-init-plugins 1.0"
|
|
|
|
short_desc "Initialize all submodules. Run this every time you pull a new yadr version."
|
2011-12-08 15:27:41 +08:00
|
|
|
|
|
|
|
run do |command|
|
2012-01-25 15:04:37 +08:00
|
|
|
`cd "#{$yadr}" && git submodule update --init`
|
2011-12-08 15:27:41 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|