diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-11 05:52:45 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-11 05:52:45 -0800 |
| commit | 06fec34e1328aeae512e329b4e9ce654c8710a0a (patch) | |
| tree | f38818795e0bd0903aca29042c6504903ac9d348 | |
| parent | 453946971319b07952ec77ca5f4a27f0411fae17 (diff) | |
| parent | 33d843d185ea929ced6ce2d7aadbcce760f87eb8 (diff) | |
| download | mruby-06fec34e1328aeae512e329b4e9ce654c8710a0a.tar.gz mruby-06fec34e1328aeae512e329b4e9ce654c8710a0a.zip | |
Merge pull request #727 from mattn/dep_gems
Add dependency to build gems list
| -rw-r--r-- | Rakefile | 3 | ||||
| -rw-r--r-- | doc/compile/README.md | 2 | ||||
| -rw-r--r-- | tasks/mrbgems.rake | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -8,7 +8,8 @@ load 'tasks/mruby_gem_spec.rake' ############################## # compile flags -load File.expand_path(ENV['CONFIG'] || './build_config.rb') +MRUBY_CONFIG = File.expand_path(ENV['MRUBY_CONFIG'] || './build_config.rb') +load MRUBY_CONFIG load 'tasks/rules.rake' load 'src/mruby_core.rake' diff --git a/doc/compile/README.md b/doc/compile/README.md index cec70e68b..168417984 100644 --- a/doc/compile/README.md +++ b/doc/compile/README.md @@ -83,7 +83,7 @@ MRuby::CrossBuild.new('i386') do |conf| end ``` -You can configurate the same options as for a normal build. +You can configurate the same options as for a normal build. You can specified your own build_config.rb with *$MRUBY_CONFIG*. ## Build process diff --git a/tasks/mrbgems.rake b/tasks/mrbgems.rake index 356e40369..07e412b53 100644 --- a/tasks/mrbgems.rake +++ b/tasks/mrbgems.rake @@ -29,5 +29,7 @@ mrb_init_mrbgems(mrb_state *mrb) { __EOF__ end end + + file "#{build_dir}/mrbgems/gem_init.c" => MRUBY_CONFIG end end |
