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
4
graph.go
4
graph.go
|
|
@ -322,11 +322,11 @@ func (g *graph) ambiguous(u *node) {
|
|||
} else {
|
||||
if !le.r.equivRecipe(e.r) {
|
||||
if le.r.ismeta && !e.r.ismeta {
|
||||
mkPrintRecipe(u.name, le.r.recipe)
|
||||
mkPrintRecipe(u.name, le.r.recipe, false)
|
||||
le.togo = true
|
||||
le = e
|
||||
} else if !le.r.ismeta && e.r.ismeta {
|
||||
mkPrintRecipe(u.name, e.r.recipe)
|
||||
mkPrintRecipe(u.name, e.r.recipe, false)
|
||||
e.togo = true
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue