summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-02 08:57:52 -0600
committerJeff Carr <[email protected]>2025-11-02 08:57:52 -0600
commit1208b1625852b3c1622a45f0f1f8b816574c8c05 (patch)
tree1416a583bc45017a66564c1e328a4d99eedb06c4 /doBuild.go
parent1269abed5695348c75b3da9b30fbfb8420833de1 (diff)
new names in forgepbdevel
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go25
1 files changed, 5 insertions, 20 deletions
diff --git a/doBuild.go b/doBuild.go
index 2d84dc9..5e6f86a 100644
--- a/doBuild.go
+++ b/doBuild.go
@@ -154,29 +154,14 @@ func doInstall(all *gitpb.Repos) error {
me.forge.ConfigRill(16, 16)
os.Setenv("GO111MODULE", "off")
- stats := me.forge.RunOnRepos(found, doInstallRepo)
+ failed := me.forge.RunOnRepos(found, doInstallRepo)
os.Unsetenv("GO111MODULE")
- failed := gitpb.NewRepos()
- for s, stat := range stats {
- if stat.Err == nil {
- continue
- }
- // log.Info("CRAP. INSTALL FAILED", config.FormatDuration(dur), s, stat.Err)
- msg := "go install FAILED " + s
- log.Info(msg)
- found := me.forge.Repos.FindByFullPath(s)
- if found == nil {
- log.Info("found", found, "'"+s+"'")
- panic("wrong namespace logic. couldn't find repo from stats")
- }
- failed.Append(found)
- }
os.Remove(filepath.Join(env.Get("homedir"), "go/bin/forged"))
if failed.Len() > 0 {
- for r := range failed.IterAll() {
- log.Info("r.Namespace", r.Namespace)
- }
- failed.SortNamespace()
+ // for r := range failed.IterAll() {
+ // log.Info("r.Namespace", r.Namespace)
+ // }
+ // failed.SortNamespace()
footer = failed.PrintForgedTable()
log.Info("TABLE WITH NULLS", footer)
argvpb.BadExit("go install Failed for: "+footer, nil)