Merge pull request #2862 from scalone/recursive_clone

Add —-recursive option to automatically update submodules from git mgems
This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-06-29 10:21:07 +09:00
+1
View File
@@ -91,6 +91,7 @@ module MRuby
end
else
options = [params[:options]] || []
options << "--recursive"
options << "--branch \"#{branch}\""
options << "--depth 1" unless params[:checksum_hash]
FileUtils.mkdir_p "#{gem_clone_dir}"