diff options
| author | Masaki Muranaka <[email protected]> | 2013-03-04 21:52:39 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-23 12:39:12 +0900 |
| commit | 34dd4525c51de1e2e4af110566d5fab1598e793c (patch) | |
| tree | a5f0fe674bf1c8af5cfe42f09142608d40f67ddb | |
| parent | acab35a2a54e00e197b7372e940b83235480179d (diff) | |
| download | mruby-34dd4525c51de1e2e4af110566d5fab1598e793c.tar.gz mruby-34dd4525c51de1e2e4af110566d5fab1598e793c.zip | |
Add bitbucket git support.
| -rw-r--r-- | doc/mrbgems/README.md | 3 | ||||
| -rw-r--r-- | tasks/mruby_build_gem.rake | 2 |
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] |
