summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/mrbgems/README.md3
-rw-r--r--tasks/mruby_build_gem.rake2
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md
index 6c473b57d..eb6596ec8 100644
--- a/doc/mrbgems/README.md
+++ b/doc/mrbgems/README.md
@@ -23,6 +23,9 @@ A remote GIT repository location for a GEM is also supported:
conf.gem :github => 'masuidrive/mrbgems-example', :branch => 'master'
+ conf.gem :bitbucket => 'mruby/mrbgems-example', :branch => 'master'
+
+NOTE: ':bitbucket' option supports only git. Hg is unsupported in this version.
## GEM Structure
diff --git a/tasks/mruby_build_gem.rake b/tasks/mruby_build_gem.rake
index 24f53a501..358df1612 100644
--- a/tasks/mruby_build_gem.rake
+++ b/tasks/mruby_build_gem.rake
@@ -24,6 +24,8 @@ module MRuby
def load_external_gem(params)
if params[:github]
params[:git] = "https://github.com/#{params[:github]}.git"
+ elsif params[:bitbucket]
+ params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
end
if params[:git]