Moved mrbgems examples

This commit is contained in:
Yuichiro MASUI
2013-01-26 15:47:06 +09:00
parent 47d7cce66d
commit 9352e4b49d
17 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ Or
mruby contains a package manager called *mrbgems*. To create extensions
in C and/or Ruby you should create a *GEM*. You will find a complete
documentation with examples under *doc/mrbgems*.
documentation with examples under *examples/mrbgems*.
## License
+4 -4
View File
@@ -3,11 +3,11 @@ MRuby::Build.new do |conf|
toolchain :gcc
# Use mrbgems
# conf.gem 'doc/mrbgems/ruby_extension_example'
# conf.gem 'doc/mrbgems/c_extension_example' do |g|
# conf.gem 'examples/mrbgems/ruby_extension_example'
# conf.gem 'examples/mrbgems/c_extension_example' do |g|
# g.cc.flags << '-g' # append cflags in this gem
# end
# conf.gem 'doc/mrbgems/c_and_ruby_extension_example'
# conf.gem 'examples/mrbgems/c_and_ruby_extension_example'
# conf.gem :github => 'masuidrive/mrbgems-example', :branch => 'master'
# conf.gem :git => 'git@github.com:masuidrive/mrbgems-example.git', :branch => 'master', :options => '-v'
@@ -74,5 +74,5 @@ end
# conf.cc.flags << "-m32"
# conf.linker.flags << "-m32"
#
# conf.gem 'doc/mrbgems/c_and_ruby_extension_example'
# conf.gem 'examples/mrbgems/c_and_ruby_extension_example'
# end
+1 -1
View File
@@ -15,7 +15,7 @@ To add a GEM into the build_config.rb add the following line for example:
You can also use a relative path which would be relative from the mruby root:
conf.gem 'doc/mrbgems/ruby_extension_example'
conf.gem 'examples/mrbgems/ruby_extension_example'
A remote GIT repository location for a GEM is also supported: