summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThiago Scalone <[email protected]>2015-06-26 14:22:09 -0300
committerThiago Scalone <[email protected]>2015-06-26 14:22:09 -0300
commit449ec101f61a912f3b4b45e7378a18be784401a5 (patch)
tree64d840b79beb3564db5dcece3402480a8371ed41
parentf39a31a62352f15b6c26a457bae576231dec1b82 (diff)
downloadmruby-449ec101f61a912f3b4b45e7378a18be784401a5.tar.gz
mruby-449ec101f61a912f3b4b45e7378a18be784401a5.zip
Add —-recursive option to automatically update submodules from git mgems.
-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 d9d2575bd..27d4f8886 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}"