Skip to content

Instantly share code, notes, and snippets.

@jeremyjs
Created June 13, 2014 03:48
Show Gist options
  • Save jeremyjs/b0afb68c9c8683ab90e2 to your computer and use it in GitHub Desktop.
Save jeremyjs/b0afb68c9c8683ab90e2 to your computer and use it in GitHub Desktop.
task :add_submodule, [:a0, :a1] do |t, args|
install_path = "janus/#{args[:a1]}"
puts "*installing #{args[:a0]} to #{install_path}"
`git submodule add #{args[:a0]} #{install_path}`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment