diff options
| author | Daniel Bovensiepen <[email protected]> | 2013-05-02 02:54:21 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2013-05-02 02:54:21 +0800 |
| commit | bffc9878ecd8cea73f4c3e1e1d29dec05041edc7 (patch) | |
| tree | 6adb3690978a622a05a665b62647c070022b6c88 /mrbgems | |
| parent | 3afa961e8c56969f3f3bc3203fdde16ad5577f09 (diff) | |
| download | mruby-bffc9878ecd8cea73f4c3e1e1d29dec05041edc7.tar.gz mruby-bffc9878ecd8cea73f4c3e1e1d29dec05041edc7.zip | |
Apply :core parameter to full-core.gembox
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/full-core.gembox | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mrbgems/full-core.gembox b/mrbgems/full-core.gembox index b9f19e452..4a6ebbc80 100644 --- a/mrbgems/full-core.gembox +++ b/mrbgems/full-core.gembox @@ -1,8 +1,9 @@ MRuby::GemBox.new do |conf| - conf.gem "#{root}/mrbgems/mruby-sprintf" - conf.gem "#{root}/mrbgems/mruby-print" + conf.gem :core => "mruby-sprintf" + conf.gem :core => "mruby-print" Dir.glob("#{root}/mrbgems/mruby-*") do |x| - conf.gem x unless x =~ /\/mruby-(print|sprintf)$/ + g = File.basename(x) + conf.gem :core => g unless g =~ /^mruby-(print|sprintf)$/ end end |
