summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-01-13 14:17:48 -0500
committerrealtradam <[email protected]>2022-01-13 14:17:48 -0500
commit0626db7878977af8710664dd330ddd48ec1f9202 (patch)
tree83f040a70261084189bc94d23e6ef0a46e11c348
parent6952daaa402052e0b101925a7cf2ae8560d09c51 (diff)
downloadmruby-0626db7878977af8710664dd330ddd48ec1f9202.tar.gz
mruby-0626db7878977af8710664dd330ddd48ec1f9202.zip
added gembox
-rw-r--r--build_config/felflame_linux.rb36
-rw-r--r--mrbgems/felflame.gembox62
2 files changed, 81 insertions, 17 deletions
diff --git a/build_config/felflame_linux.rb b/build_config/felflame_linux.rb
index 95333042c..c272370cf 100644
--- a/build_config/felflame_linux.rb
+++ b/build_config/felflame_linux.rb
@@ -13,11 +13,11 @@ MRuby::Build.new do |conf|
# conf.gem :core => 'mruby-eval'
# conf.gem :mgem => 'mruby-onig-regexp'
# conf.gem :github => 'mattn/mruby-onig-regexp'
- conf.gem :core => 'mruby-bin-mirb'
- conf.gem :git => '[email protected]:realtradam/sample-mruby-gem.git', :branch => 'test', :options => '-v'
+ #conf.gem :core => 'mruby-bin-mirb'
+ #conf.gem :git => '[email protected]:realtradam/sample-mruby-gem.git', :branch => 'test', :options => '-v'
# include the GEM box
- conf.gembox 'default'
+ conf.gembox 'felflame'
# C compiler settings
conf.cc do |cc|
@@ -161,34 +161,35 @@ MRuby::CrossBuild.new("win") do |conf|
# conf.gem :core => 'mruby-eval'
# conf.gem :mgem => 'mruby-onig-regexp'
# conf.gem :github => 'mattn/mruby-onig-regexp'
- conf.gem :core => 'mruby-bin-mirb'
- conf.gem :git => '[email protected]:realtradam/sample-mruby-gem.git', :branch => 'test', :options => '-v'
+ #conf.gem :core => 'mruby-bin-mirb'
+ #conf.gem :git => '[email protected]:realtradam/sample-mruby-gem.git', :branch => 'test', :options => '-v'
# include the GEM box
+ conf.gembox 'felflame'
#conf.gembox 'default'
- conf.gembox "stdlib"
- conf.gembox "stdlib-ext"
+ #conf.gembox "stdlib"
+ #conf.gembox "stdlib-ext"
#conf.gembox "stdlib-io"
# Use standard print/puts/p
- conf.gem :core => "mruby-print"
+ #conf.gem :core => "mruby-print"
# Use standard IO/File class
#conf.gem :core => "mruby-socket"
# Use standard IO/File class
- conf.gem :core => "mruby-io"
+ #conf.gem :core => "mruby-io"
- conf.gembox "math"
- conf.gembox "metaprog"
+ #conf.gembox "math"
+ #conf.gembox "metaprog"
# Generate mrbc command
- conf.gem :core => "mruby-bin-mrbc"
+ #conf.gem :core => "mruby-bin-mrbc"
# Generate mirb command
- conf.gem :core => "mruby-bin-mirb"
+ #conf.gem :core => "mruby-bin-mirb"
# Generate mruby command
- conf.gem :core => "mruby-bin-mruby"
+ #conf.gem :core => "mruby-bin-mruby"
# Generate mruby-strip command
- conf.gem :core => "mruby-bin-strip"
+ #conf.gem :core => "mruby-bin-strip"
# Generate mruby-config command
- conf.gem :core => "mruby-bin-config"
+ #conf.gem :core => "mruby-bin-config"
conf.host_target = "x86_64-w64-mingw32"
@@ -225,7 +226,8 @@ MRuby::CrossBuild.new("web") do |conf|
conf.gem :git => '[email protected]:realtradam/sample-mruby-gem.git', :branch => 'test', :options => '-v'
# include the GEM box
- conf.gembox 'default'
+ #conf.gembox 'default'
+ conf.gembox 'felflame'
#conf.gembox "stdlib"
#conf.gembox "stdlib-ext"
diff --git a/mrbgems/felflame.gembox b/mrbgems/felflame.gembox
new file mode 100644
index 000000000..6931b10d6
--- /dev/null
+++ b/mrbgems/felflame.gembox
@@ -0,0 +1,62 @@
+MRuby::GemBox.new do |conf|
+ # -- CORE GEMS --
+
+ conf.gembox "stdlib"
+ conf.gembox "stdlib-ext"
+ conf.gembox "math"
+ conf.gembox "metaprog"
+ #conf.gembox "stdlib-io"
+
+ # Use standard IO/File class
+ conf.gem :core => "mruby-io"
+
+ # TODO: this gem doesnt current work
+ # with windows export
+ # Use standard IO/File class
+ #conf.gem :core => "mruby-socket"
+
+ # Use standard print/puts/p
+ conf.gem :core => "mruby-print"
+
+
+ # Generate mrbc command
+ conf.gem :core => "mruby-bin-mrbc"
+
+ # Generate mirb command
+ conf.gem :core => "mruby-bin-mirb"
+
+ # Generate mruby command
+ conf.gem :core => "mruby-bin-mruby"
+
+ # Generate mruby-strip command
+ conf.gem :core => "mruby-bin-strip"
+
+ # Generate mruby-config command
+ conf.gem :core => "mruby-bin-config"
+
+ # -- OTHER GEMS --
+ # Test gem
+
+ conf.gem :git => '[email protected]:realtradam/sample-mruby-gem.git', :branch => 'test', :options => '-v'
+
+ # -- POTENTIAL GEMS --
+ # gems that we may want incorperated
+
+ # Simple Http
+ #conf.gem :git => 'https://github.com/matsumotory/mruby-simplehttp'
+
+ # Memory Profiler
+ #conf.gem :git => 'https://github.com/iij/mruby-memprof'
+
+ # Testing Framework
+ #conf.gem :git => 'https://github.com/iij/mruby-mtest'
+
+ # Regex
+ #conf.gem :git => 'https://github.com/iij/mruby-regexp-pcre'
+
+ # JSON
+ #conf.gem :git => 'https://github.com/iij/mruby-iijson'
+
+ # Dir
+ #conf.gem :git => 'https://github.com/iij/mruby-dir'
+end