Add ssh protocol support for bitbucket.

This commit is contained in:
Masaki Muranaka
2014-03-02 12:07:15 +09:00
parent ba7ea50788
commit b58e6b9146
+5 -1
View File
@@ -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] = "git@bitbucket.org:#{params[:bitbucket]}.git"
else
params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
end
end
if params[:core]