dotar/bin/yadr/yadr-init-plugins

13 lines
312 B
Ruby
Executable File

#!/usr/bin/env ruby
require File.join(File.dirname(__FILE__), 'default_libs')
GitStyleBinary.command do
version "yadr-init-plugins 1.0"
short_desc "Initialize all submodules. Run this every time you pull a new yadr version."
run do |command|
`cd "#{$yadr}" && git submodule update --init`
end
end