Commit 34dd4525 authored by Masaki Muranaka's avatar Masaki Muranaka

Add bitbucket git support.

parent acab35a2
......@@ -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
......
......@@ -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]
......
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