summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-10-29 11:32:46 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-29 11:49:05 +0900
commit33742d941ff3e8e361c6d3a36071765b686cb94c (patch)
tree559479c20b7efe532c4712090446b38de4f63dc4 /mrbgems
parentc1ad4c42616943c25a2f9a17626e820aea6a31b7 (diff)
downloadmruby-33742d941ff3e8e361c6d3a36071765b686cb94c.tar.gz
mruby-33742d941ff3e8e361c6d3a36071765b686cb94c.zip
Move `build_config.rb` -> `build_config/default.rb`; ref #5098
In addition, update the documents referring `build_config.rb` which is no longer used. The new `build_config.rb` describes the new configuration structure in the comment.
Diffstat (limited to 'mrbgems')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h4
-rw-r--r--mrbgems/mruby-bin-mirb/tools/mirb/mirb.c2
-rw-r--r--mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c2
-rw-r--r--mrbgems/mruby-bin-mruby/tools/mruby/mruby.c2
-rw-r--r--mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c2
-rw-r--r--mrbgems/mruby-io/README.md2
-rw-r--r--mrbgems/mruby-io/include/mruby/ext/io.h2
-rw-r--r--mrbgems/mruby-method/README.md3
-rw-r--r--mrbgems/mruby-pack/README.md2
-rw-r--r--mrbgems/mruby-print/src/print.c2
-rw-r--r--mrbgems/mruby-sleep/README.md3
11 files changed, 14 insertions, 12 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
index 080b0616b..e2c4c7200 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdbconf.h
@@ -7,11 +7,11 @@
#define MRDBCONF_H
#ifndef MRB_ENABLE_DEBUG_HOOK
-# error mruby-bin-debugger need 'MRB_ENABLE_DEBUG_HOOK' configuration in your 'build_config.rb'
+# error mruby-bin-debugger need 'MRB_ENABLE_DEBUG_HOOK' in your build configuration
#endif
#ifdef MRB_DISABLE_STDIO
-# error mruby-bin-debugger conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error mruby-bin-debugger conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
/* configuration options: */
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
index 93a4941f4..cb22d2ec3 100644
--- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
+++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
@@ -9,7 +9,7 @@
#include <mruby.h>
#ifdef MRB_DISABLE_STDIO
-# error mruby-bin-mirb conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error mruby-bin-mirb conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
#include <mruby/array.h>
diff --git a/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c b/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
index acad28bd8..df674f556 100644
--- a/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
+++ b/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c
@@ -1,7 +1,7 @@
#include <mruby.h>
#ifdef MRB_DISABLE_STDIO
-# error mruby-bin-mrbc conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error mruby-bin-mrbc conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
#include <stdlib.h>
diff --git a/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c b/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c
index 793245875..e9bd4c326 100644
--- a/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c
+++ b/mrbgems/mruby-bin-mruby/tools/mruby/mruby.c
@@ -1,7 +1,7 @@
#include <mruby.h>
#ifdef MRB_DISABLE_STDIO
-# error mruby-bin-mruby conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error mruby-bin-mruby conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
#include <stdlib.h>
diff --git a/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c b/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
index 3d05238d2..4eabb17bf 100644
--- a/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
+++ b/mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
@@ -1,7 +1,7 @@
#include <mruby.h>
#ifdef MRB_DISABLE_STDIO
-# error mruby-bin-strip conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error mruby-bin-strip conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
#include <stdlib.h>
diff --git a/mrbgems/mruby-io/README.md b/mrbgems/mruby-io/README.md
index 2c5b762d8..9fb942e3a 100644
--- a/mrbgems/mruby-io/README.md
+++ b/mrbgems/mruby-io/README.md
@@ -4,7 +4,7 @@ mruby-io
`IO` and `File` classes for mruby
## Installation
-Add the line below to your `build_config.rb`:
+Add the line below to your build configuration.
```
conf.gem core: 'mruby-io'
diff --git a/mrbgems/mruby-io/include/mruby/ext/io.h b/mrbgems/mruby-io/include/mruby/ext/io.h
index dfff8e0e0..1188935ee 100644
--- a/mrbgems/mruby-io/include/mruby/ext/io.h
+++ b/mrbgems/mruby-io/include/mruby/ext/io.h
@@ -8,7 +8,7 @@
#include <mruby.h>
#ifdef MRB_DISABLE_STDIO
-# error IO and File conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error IO and File conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
#if defined(__cplusplus)
diff --git a/mrbgems/mruby-method/README.md b/mrbgems/mruby-method/README.md
index 5076bfbb2..21ef0a936 100644
--- a/mrbgems/mruby-method/README.md
+++ b/mrbgems/mruby-method/README.md
@@ -10,7 +10,8 @@ p Enumerable.instance_method(:find_all).source_location
# Note
-`source_location` method need this configuration in build_config.rb
+You need to enable debug option in your build configuration to use
+`source_location` method in this gem, for example:
```ruby
MRuby::Build.new do |conf|
diff --git a/mrbgems/mruby-pack/README.md b/mrbgems/mruby-pack/README.md
index c8a653fba..c66945cde 100644
--- a/mrbgems/mruby-pack/README.md
+++ b/mrbgems/mruby-pack/README.md
@@ -5,7 +5,7 @@ mruby-pack provides `Array#pack` and `String#unpack` for mruby.
## Installation
-Add the line below into your `build_config.rb`:
+Add the line below into your build configuration:
```
conf.gem :github => 'iij/mruby-pack'
diff --git a/mrbgems/mruby-print/src/print.c b/mrbgems/mruby-print/src/print.c
index 30b2930b5..588231893 100644
--- a/mrbgems/mruby-print/src/print.c
+++ b/mrbgems/mruby-print/src/print.c
@@ -1,7 +1,7 @@
#include <mruby.h>
#ifdef MRB_DISABLE_STDIO
-# error print conflicts 'MRB_DISABLE_STDIO' configuration in your 'build_config.rb'
+# error print conflicts 'MRB_DISABLE_STDIO' in your build configuration
#endif
#include <mruby/string.h>
diff --git a/mrbgems/mruby-sleep/README.md b/mrbgems/mruby-sleep/README.md
index 7707cd040..1c0a86c3a 100644
--- a/mrbgems/mruby-sleep/README.md
+++ b/mrbgems/mruby-sleep/README.md
@@ -2,7 +2,8 @@
mruby sleep module
## install by mrbgems
- - add conf.gem line to `build_config.rb`
+- add conf.gem line to your build configuration.
+
```ruby
MRuby::Build.new do |conf|