mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
@@ -249,11 +249,9 @@ module MRuby
|
||||
|
||||
def run(out, infiles, funcname)
|
||||
@command ||= @build.mrbcfile
|
||||
commandline = "#{filename @command} #{@compile_options % {:funcname => funcname}}"
|
||||
IO.popen(commandline, 'r+') do |io|
|
||||
IO.popen("#{filename @command} #{@compile_options % {:funcname => funcname}}", 'r+') do |io|
|
||||
[infiles].flatten.each do |f|
|
||||
_pp "MRBC", f.relative_path, nil, :indent => 2
|
||||
log "#{commandline} ## #{f}"
|
||||
io.write IO.read(f)
|
||||
end
|
||||
io.close_write
|
||||
|
||||
Reference in New Issue
Block a user