diff options
Diffstat (limited to 'doDebian.go')
| -rw-r--r-- | doDebian.go | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/doDebian.go b/doDebian.go index 10321aa..e14e555 100644 --- a/doDebian.go +++ b/doDebian.go @@ -9,15 +9,6 @@ import ( ) func doDebian() { - if argv.Force || argv.Debian.Force || argv.Debian.SkipInstall { - log.Info("doDebian() skipping go install test") - } else { - if err := doInstall(); err != nil { - log.Info("doInstall() failed", err) - badExit(err) - } - } - initForge() found := gitpb.NewRepos() @@ -41,6 +32,19 @@ func doDebian() { okExit("") } + if argv.Debian.SkipInstall { + log.Info("doDebian() skipping go install test") + } else { + me.forge.ConfigRill(16, 16) + stats := me.forge.RunOnRepos(found, doInstallRepo) + for s, stat := range stats { + log.Info(s, stat.Err) + if stat.Err != nil { + badExit(stat.Err) + } + } + } + me.forge.ConfigRill(16, 16) stats := me.forge.RunOnRepos(found, buildDeb) for s, stat := range stats { |
