Add a '-q' option to not print recipes before executing.
This commit is contained in:
parent
53634f87d8
commit
73d1b31466
3 changed files with 23 additions and 9 deletions
|
|
@ -97,9 +97,7 @@ func dorecipe(target string, u *node, e *edge, dryrun bool) bool {
|
|||
args = e.r.shell[1:]
|
||||
}
|
||||
|
||||
if !e.r.attributes.quiet {
|
||||
mkPrintRecipe(target, input)
|
||||
}
|
||||
mkPrintRecipe(target, input, e.r.attributes.quiet)
|
||||
|
||||
if dryrun {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue