mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-20 21:21:51 +02:00
28 lines
576 B
Ruby
28 lines
576 B
Ruby
MRuby::Build.new do |conf|
|
|
conf.toolchain :gcc
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
|
|
conf.enable_bintest
|
|
conf.enable_test
|
|
|
|
# Configuration macros
|
|
conf.cc.defines = %w(MRB_USE_READLINE MRB_UTF8_STRING)
|
|
end
|
|
|
|
MRuby::Build.new('host-debug') do |conf|
|
|
conf.toolchain :gcc
|
|
|
|
conf.enable_debug
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
|
|
# Configuration macros
|
|
conf.cc.defines = %w(MRB_USE_READLINE MRB_UTF8_STRING MRB_USE_DEBUG_HOOK)
|
|
|
|
# Generate mruby debugger command (require mruby-eval)
|
|
conf.gem :core => "mruby-bin-debugger"
|
|
end
|