summaryrefslogtreecommitdiff
path: root/doBuild.debian.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.debian.go
parent1269abed5695348c75b3da9b30fbfb8420833de1 (diff)
new names in forgepbHEADv0.1.58masterdevel
Diffstat (limited to 'doBuild.debian.go')
-rw-r--r--doBuild.debian.go10
1 files changed, 3 insertions, 7 deletions
diff --git a/doBuild.debian.go b/doBuild.debian.go
index 4944907..6906c14 100644
--- a/doBuild.debian.go
+++ b/doBuild.debian.go
@@ -118,13 +118,8 @@ func doBuildDeb(all *gitpb.Repos) (string, error) {
}
me.forge.ConfigRill(16, 16)
- stats := me.forge.RunOnRepos(all, runFromDL)
- for s, stat := range stats {
- if stat.Err != nil {
- return "ERROR WITH buildDeb " + s, stat.Err
- }
- }
- if totalBuilt == 0 {
+ built := me.forge.RunOnRepos(all, runFromDL)
+ if built.Len() == 0 {
if argv.DryRun {
log.Info("")
return "--dry-run TRUE (nothing done)", nil
@@ -143,6 +138,7 @@ func doBuildDeb(all *gitpb.Repos) (string, error) {
return "all .deb built ok", nil
}
+// build a .deb package for a repo
func runFromDL(repo *gitpb.Repo) error {
var err error
cmd := repo.DirtyList