diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-29 01:57:23 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-03-29 01:57:23 -0700 |
| commit | e2303b60704a6cd4cc92b00f2121ceecb7775af0 (patch) | |
| tree | b1366ef6c3e9551dbaf0954b5aff2587410a7497 /tasks | |
| parent | 6b67f08361c7fec36c59dc46d01cc9dd599bf73c (diff) | |
| parent | 79ebdb5fbe09cf4dab29b5ee159ce88b3a4d6621 (diff) | |
| download | mruby-e2303b60704a6cd4cc92b00f2121ceecb7775af0.tar.gz mruby-e2303b60704a6cd4cc92b00f2121ceecb7775af0.zip | |
Merge pull request #1105 from monaka/pr-display-more-information-in-verbose-mode
Display the command line when mrbc is kicked in the verbose mode.
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/mruby_build_commands.rake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake index b647ccf98..0effa648b 100644 --- a/tasks/mruby_build_commands.rake +++ b/tasks/mruby_build_commands.rake @@ -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 |
