summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 17:20:07 -0500
committerJeff Carr <[email protected]>2025-10-26 17:20:07 -0500
commit13ab64473928e679caf8a79c87a1152386f953a0 (patch)
tree49b5227a15b5310dcfe57ef1d534ec2f0c8e5d94 /doBuild.go
parent5e89b5f08dc80fbe288227997f3ed8c789d1f17d (diff)
getting closer to not sucking as much
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go15
1 files changed, 7 insertions, 8 deletions
diff --git a/doBuild.go b/doBuild.go
index ba37d20..3663a9e 100644
--- a/doBuild.go
+++ b/doBuild.go
@@ -100,19 +100,18 @@ func doBuild() (string, error) {
cmdstr := fmt.Sprintf("%v", cmd)
simpletable = append(simpletable, []string{debname, p.Version, age, smartver, bcount, curver, newcount, arches, cmdstr})
- newr := tobuild.Clone(repo)
- newr.DirtyList = cmd
+ repo.DirtyList = cmd
+ tobuild.Clone(repo)
}
footer := cobol.SimpleTable(simpletable)
log.Info("simple build table footer:", footer)
- if !argv.DryRun {
- return doBuildDeb(tobuild)
- }
- for r := range tobuild.IterAll() {
- log.Info(r.FullPath, r.DirtyList)
- }
+ // for r := range tobuild.IterAll() {
+ // log.Info(r.FullPath, r.DirtyList)
+ // }
+
+ return doBuildDeb(tobuild)
}
return "todo: doBuild()", nil
}