Skip to content

Commit

Permalink
Use "git submodule foreach" to update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed May 20, 2012
1 parent d0af227 commit c07a034
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 28 deletions.
4 changes: 1 addition & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ end
namespace :dev do
desc "Update submodules"
task :update_submodules do
submodules.each do |submodule|
update_submodule(submodule)
end
sh "git submodule foreach git pull origin master"
end

# Taken from RefineryCMD
Expand Down
1 change: 0 additions & 1 deletion janus/ruby/janus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def sudo(*args)
end

require 'janus/errors'
require 'janus/git'
require 'janus/vim'
require 'janus/gems'
require 'janus/github'
Expand Down
24 changes: 0 additions & 24 deletions janus/ruby/janus/git.rb

This file was deleted.

0 comments on commit c07a034

Please sign in to comment.