summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-07 15:29:45 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-07 15:29:45 -0800
commit8c31c2006be7afa8da1fd01180955b108aee868c (patch)
tree049fbf90ed98a95e0aada317a4e455db814f1a76 /tasks
parentf1eb0a053778df3cfc2d776dad8b63c65c4c6c7d (diff)
parenta19c061cb13d9cebcbf96e00d6add8c16b546032 (diff)
downloadmruby-8c31c2006be7afa8da1fd01180955b108aee868c.tar.gz
mruby-8c31c2006be7afa8da1fd01180955b108aee868c.zip
Merge pull request #706 from masuidrive/add_gem_github_option
Added gem :github option
Diffstat (limited to 'tasks')
-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]}"