mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
19 lines
389 B
Ruby
19 lines
389 B
Ruby
MRuby::Build.new do |conf|
|
|
toolchain :gcc
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
end
|
|
|
|
MRuby::Build.new('host-debug') do |conf|
|
|
toolchain :gcc
|
|
|
|
# include the default GEMs
|
|
conf.gembox 'default'
|
|
|
|
# C compiler settings
|
|
conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)
|
|
|
|
# Generate mruby debugger command (require mruby-eval)
|
|
conf.gem :core => "mruby-bin-debugger"
|
|
end
|