summaryrefslogtreecommitdiffhomepage
path: root/tasks/mruby_build.rake
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2013-01-08 10:07:55 +0800
committerDaniel Bovensiepen <[email protected]>2013-01-08 10:07:55 +0800
commita096dc9e3b01f4fc31fc1f910e254813884a776e (patch)
treecd353be9cb1df5e009d130ceabfcd627e7fb34a7 /tasks/mruby_build.rake
parentaf75d8de2ca6b3eda97c588334b15920e856a53b (diff)
parent8c31c2006be7afa8da1fd01180955b108aee868c (diff)
downloadmruby-a096dc9e3b01f4fc31fc1f910e254813884a776e.tar.gz
mruby-a096dc9e3b01f4fc31fc1f910e254813884a776e.zip
Merge remote-tracking branch 'mruby/master' into array-clear
Diffstat (limited to 'tasks/mruby_build.rake')
-rw-r--r--tasks/mruby_build.rake4
1 files changed, 4 insertions, 0 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index 65c80ab6a..d5dc075c3 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -67,6 +67,10 @@ module MRuby
end
def load_external_gem(params)
+ if params[:github]
+ params[:git] = "[email protected]:#{params[:github]}.git"
+ end
+
if params[:git]
url = params[:git]
gemdir = "build/mrbgems/#{url.match(/([-_\w]+)(\.[-_\w]+|)$/).to_a[1]}"