diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-02 21:24:40 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-02 21:24:40 +0900 |
| commit | 611b1e8e9b00962f36ba277c2861703b6c5e592b (patch) | |
| tree | c45793046933ba56f664b7f092070c3ab8965164 | |
| parent | 6c9bf266b325b289ac85e86c9bb74f1d17ed0ab2 (diff) | |
| parent | b58e6b91461c244f94a259a0c843565ea0e92e26 (diff) | |
| download | mruby-611b1e8e9b00962f36ba277c2861703b6c5e592b.tar.gz mruby-611b1e8e9b00962f36ba277c2861703b6c5e592b.zip | |
Merge pull request #1780 from monaka/pr-add-ssh-protocol-support-for-bitbucket
Add ssh protocol support for bitbucket.
| -rw-r--r-- | tasks/mruby_build_gem.rake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/mruby_build_gem.rake b/tasks/mruby_build_gem.rake index c9bf794e3..5e4566f8d 100644 --- a/tasks/mruby_build_gem.rake +++ b/tasks/mruby_build_gem.rake @@ -43,7 +43,11 @@ module MRuby if params[:github] params[:git] = "https://github.com/#{params[:github]}.git" elsif params[:bitbucket] - params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git" + if params[:method] == "ssh" + params[:git] = "[email protected]:#{params[:bitbucket]}.git" + else + params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git" + end end if params[:core] |
