summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 06:50:40 -0500
committerJeff Carr <[email protected]>2025-10-03 06:50:40 -0500
commit50b2a5e3b95638d76e30a7720a4eaac8d443a600 (patch)
treef896902840586ea3671fa3c130c37c763c19d846
parent82b078ad9b0edaae0366c31c1ee8ee180518422e (diff)
better output
-rw-r--r--build.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.go b/build.go
index fa04557..a234065 100644
--- a/build.go
+++ b/build.go
@@ -133,8 +133,7 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err
} else {
log.Info("GO111MODULE=", testenv, "f.goWork =", f.IsGoWork())
}
- log.Info("running:", repo.FullPath)
- log.Info("running:", cmd)
+ log.Infof("Run: %s %v\n", repo.FullPath, cmd)
result := repo.RunRealtime(cmd)
if result.Exit != 0 {
// build failed
@@ -166,7 +165,7 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err
repo.Run(cmd)
}
}
- log.Info(strings.Join(result.Stdout, "\n"))
+ // log.Info(strings.Join(result.Stdout, "\n"))
return nil
}