summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-06-29 10:21:07 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-06-29 10:21:07 +0900
commita41a649e8370a8a0dfd7e5de4833be28842fdfb9 (patch)
treedbb1ec0a06d26e5a098d59a21bc20179b5092fec /tasks
parentd671f57305bcf41aaa5129483a550c8cff9d1fc9 (diff)
parent449ec101f61a912f3b4b45e7378a18be784401a5 (diff)
downloadmruby-a41a649e8370a8a0dfd7e5de4833be28842fdfb9.tar.gz
mruby-a41a649e8370a8a0dfd7e5de4833be28842fdfb9.zip
Merge pull request #2862 from scalone/recursive_clone
Add —-recursive option to automatically update submodules from git mgems
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mruby_build_gem.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/mruby_build_gem.rake b/tasks/mruby_build_gem.rake
index 68de28761..26990a380 100644
--- a/tasks/mruby_build_gem.rake
+++ b/tasks/mruby_build_gem.rake
@@ -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}"