Build process updated:

You have to specify `TARGET` to specify a configuration, e.g.

```
rake TARGET=host-debug all test
```

When you port `mruby` to a new configuration:
1. copy an existing configuration under `target` directory
2. modify the new configuration file
3. build using the new configuration
4. send PR if you please
parent 92d8012b
...@@ -11,7 +11,7 @@ MRuby::Build.new('host-debug') do |conf| ...@@ -11,7 +11,7 @@ MRuby::Build.new('host-debug') do |conf|
enable_debug enable_debug
# include the default GEMs # include the default GEMs
conf.gembox 'default' conf.gembox 'full-core'
# C compiler settings # C compiler settings
conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK) conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)
......
...@@ -20,7 +20,7 @@ MRuby::Build.new do |conf| ...@@ -20,7 +20,7 @@ MRuby::Build.new do |conf|
# conf.gem :git => 'git@github.com:mattn/mruby-onig-regexp.git', :branch => 'master', :options => '-v' # conf.gem :git => 'git@github.com:mattn/mruby-onig-regexp.git', :branch => 'master', :options => '-v'
# include the GEM box # include the GEM box
conf.gembox 'default' conf.gembox 'full-core'
# C compiler settings # C compiler settings
# conf.cc do |cc| # conf.cc do |cc|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment