diff options
| author | Yuichiro MASUI <[email protected]> | 2013-01-08 00:44:48 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2013-01-08 00:44:48 +0900 |
| commit | a19c061cb13d9cebcbf96e00d6add8c16b546032 (patch) | |
| tree | 049fbf90ed98a95e0aada317a4e455db814f1a76 /tasks/mruby_build.rake | |
| parent | f1eb0a053778df3cfc2d776dad8b63c65c4c6c7d (diff) | |
| download | mruby-a19c061cb13d9cebcbf96e00d6add8c16b546032.tar.gz mruby-a19c061cb13d9cebcbf96e00d6add8c16b546032.zip | |
Added gem :github option
Diffstat (limited to 'tasks/mruby_build.rake')
| -rw-r--r-- | tasks/mruby_build.rake | 4 |
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]}" |
