mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Change output condition in _pp
* Output even with `rake -v` (to help debugging) * Not output when `rake -s`
This commit is contained in:
@@ -27,7 +27,7 @@ def install_D(src, dst)
|
||||
end
|
||||
|
||||
def _pp(cmd, src, tgt=nil, indent: nil)
|
||||
return if Rake.verbose
|
||||
return if Rake.application.options.silent
|
||||
|
||||
width = 5
|
||||
template = indent ? "%#{width * indent}s %s %s" : "%-#{width}s %s %s"
|
||||
|
||||
Reference in New Issue
Block a user