Commit b58e6b91 authored by Masaki Muranaka's avatar Masaki Muranaka

Add ssh protocol support for bitbucket.

parent ba7ea507
...@@ -43,7 +43,11 @@ module MRuby ...@@ -43,7 +43,11 @@ module MRuby
if params[:github] if params[:github]
params[:git] = "https://github.com/#{params[:github]}.git" params[:git] = "https://github.com/#{params[:github]}.git"
elsif params[:bitbucket] elsif params[:bitbucket]
params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git" if params[:method] == "ssh"
params[:git] = "git@bitbucket.org:#{params[:bitbucket]}.git"
else
params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
end
end end
if params[:core] if params[:core]
......
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