Commit 79ebdb5f authored by Masaki Muranaka's avatar Masaki Muranaka

Display the command line when mrbc is kicked in the verbose mode.

parent cb946da7
......@@ -249,9 +249,11 @@ module MRuby
def run(out, infiles, funcname)
@command ||= @build.mrbcfile
IO.popen("#{filename @command} #{@compile_options % {:funcname => funcname}}", 'r+') do |io|
commandline = "#{filename @command} #{@compile_options % {:funcname => funcname}}"
IO.popen(commandline, '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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment