diff options
Diffstat (limited to 'doBuild.go')
| -rw-r--r-- | doBuild.go | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -40,6 +40,7 @@ func doBuild() (string, error) { if err != nil { return "missing resources/go-deb list", err } + tobuild := gitpb.NewRepos() var simpletable [][]string simpletable = append(simpletable, []string{"debname", "version", " age", "smartver", "curb", "curver", "newb", "arch", "FullPath"}) for i, line := range strings.Split(string(data), "\n") { @@ -95,11 +96,20 @@ func doBuild() (string, error) { } else { age = cobol.Duration(t) } - simpletable = append(simpletable, []string{debname, p.Version, age, p.GetSmartVersion(), bcount, curver, newcount, arches, repo.FullPath}) + tobuild.Clone(repo) + cmd := makeGoDebCmd(repo, newcount, "") + cmdstr := fmt.Sprintf("%v", cmd) + simpletable = append(simpletable, []string{debname, p.Version, age, p.GetSmartVersion(), bcount, curver, newcount, arches, cmdstr}) + repo.RunVerbose(cmd) + // argvpb.GoodExit("built 1") } footer := cobol.SimpleTable(simpletable) log.Info("simple build table footer:", footer) + + argv.DryRun = true + // for r := range tobuild.IterAll() { + // } /* if err := doInstall(found); err != nil { // log.Info("doInstall() failed", err) |
