lib/vendorer.rb in vendorer-0.1.7 vs lib/vendorer.rb in vendorer-0.1.8

- old
+ new

@@ -28,9 +28,10 @@ run "mkdir -p #{File.dirname(path)}" run "git clone '#{url}' #{path}" if commit = (options[:ref] || options[:tag] || options[:branch]) run "cd #{path} && git checkout '#{commit}'" end + run("cd #{path} && git submodule update --init --recursive") run "rm -rf #{path}/.git" yield path if block_given? end else @sub_path << path