Commit 449ec101 authored by Thiago Scalone's avatar Thiago Scalone

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

parent f39a31a6
...@@ -91,6 +91,7 @@ module MRuby ...@@ -91,6 +91,7 @@ module MRuby
end end
else else
options = [params[:options]] || [] options = [params[:options]] || []
options << "--recursive"
options << "--branch \"#{branch}\"" options << "--branch \"#{branch}\""
options << "--depth 1" unless params[:checksum_hash] options << "--depth 1" unless params[:checksum_hash]
FileUtils.mkdir_p "#{gem_clone_dir}" FileUtils.mkdir_p "#{gem_clone_dir}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment