mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 05:52:30 +01:00
25 lines
459 B
Ruby
25 lines
459 B
Ruby
MRuby::Build.new do |conf|
|
|
conf.toolchain :gcc
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
|
|
conf.enable_bintest
|
|
conf.enable_test
|
|
end
|
|
|
|
MRuby::Build.new('host-debug') do |conf|
|
|
conf.toolchain :gcc
|
|
|
|
conf.enable_debug
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
|
|
# C compiler settings
|
|
conf.cc.defines = %w(MRB_USE_DEBUG_HOOK)
|
|
|
|
# Generate mruby debugger command (require mruby-eval)
|
|
conf.gem :core => "mruby-bin-debugger"
|
|
end
|