summaryrefslogtreecommitdiff
path: root/doBuild.debian.go
diff options
context:
space:
mode:
Diffstat (limited to 'doBuild.debian.go')
-rw-r--r--doBuild.debian.go17
1 files changed, 14 insertions, 3 deletions
diff --git a/doBuild.debian.go b/doBuild.debian.go
index 0c0013b..bf2df2c 100644
--- a/doBuild.debian.go
+++ b/doBuild.debian.go
@@ -106,8 +106,16 @@ func doBuildDeb(all *gitpb.Repos) (string, error) {
return "incoming/ not empty", errors.New("already have incoming files")
}
- footer := printPackagingTable(all)
- log.Info("This is what will and will not be built:", footer)
+ for r := range all.IterAll() {
+ log.Info(r.FullPath, r.DirtyList)
+ }
+
+ //footer := printPackagingTable(all)
+ //log.Info("This is what will and will not be built:", footer)
+
+ if argv.DryRun {
+ return "dryrun", nil
+ }
me.forge.ConfigRill(16, 16)
stats := me.forge.RunOnRepos(all, runFromDL)
@@ -138,7 +146,10 @@ func doBuildDeb(all *gitpb.Repos) (string, error) {
func runFromDL(repo *gitpb.Repo) error {
var err error
cmd := repo.DirtyList
- log.Info("Building", cmd)
+ log.Printf("Building (%v) dl.Len(%d) cmd.Len(%d)\n", cmd, len(repo.DirtyList), len(cmd))
+ if len(cmd) == 0 {
+ return errors.New("cmd was blank")
+ }
if _, err = repo.RunVerboseOnError(cmd); err != nil {
log.Info(repo.FullPath, cmd)
return err