Fix a virtual target bug. Add an '-i' option.
This commit is contained in:
parent
64263686cb
commit
3bdc96019f
2 changed files with 38 additions and 20 deletions
|
|
@ -63,7 +63,7 @@ func printIndented(out io.Writer, s string, ind int) {
|
|||
}
|
||||
|
||||
// Execute a recipe.
|
||||
func dorecipe(target string, u *node, e *edge) bool {
|
||||
func dorecipe(target string, u *node, e *edge, dryrun bool) bool {
|
||||
vars := make(map[string][]string)
|
||||
vars["target"] = []string{target}
|
||||
if e.r.ismeta {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue