summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go17
1 files changed, 14 insertions, 3 deletions
diff --git a/main.go b/main.go
index aded69d..c31dbdb 100644
--- a/main.go
+++ b/main.go
@@ -49,14 +49,25 @@ func main() {
}
autoWork()
if argv.Build {
- if err := makeValidGoSum(workingRepo); err != nil {
- badExit(err)
+ log.Info("STARTING BUILD", workingRepo.GoPath)
+ /*
+ if err := makeValidGoSum(workingRepo); err != nil {
+ badExit(err)
+ }
+ if err := build(); err != nil {
+ badExit(err)
+ }
+ */
+ if workingRepo.RepoType() == "binary" || workingRepo.RepoType() == "plugin" {
+ log.Info("build will probably fail", workingRepo.GoPath, "is", workingRepo.RepoType())
}
- if err := build(); err != nil {
+ if err := forge.Build(workingRepo, nil); err != nil {
+ log.Warn("BUILD FAILED", workingRepo.GoPath, err)
badExit(err)
}
}
if argv.Install {
+ log.Info("STARTING INSTALL", workingRepo.GoPath)
// can only install binary or plugin go packages
if workingRepo.RepoType() == "binary" || workingRepo.RepoType() == "plugin" {
log.Info("install will probably fail", workingRepo.GoPath, "is", workingRepo.RepoType())