mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
8ee1e8d184
Since full-core.gembox includes mruby-task (which defines MRB_USE_TASK_SCHEDULER), mruby-sleep's implementation becomes disabled via conditional compilation. Exclude mruby-sleep from full-core.gembox to avoid loading an effectively empty gem. mruby-task provides task-aware sleep/usleep implementations instead. Co-authored-by: Claude <noreply@anthropic.com>
7 lines
208 B
Plaintext
7 lines
208 B
Plaintext
MRuby::GemBox.new do |conf|
|
|
Dir.glob("#{root}/mrbgems/mruby-*/mrbgem.rake") do |x|
|
|
g = File.basename(File.dirname(x))
|
|
conf.gem :core => g unless g =~ /^mruby-(?:bin-debugger|test|sleep)$/
|
|
end
|
|
end
|