Add —-recursive option to automatically update submodules from git mgems.

This commit is contained in:
Thiago Scalone
2015-06-26 14:22:09 -03:00
parent f39a31a623
commit 449ec101f6
+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}"