diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,9 +6,9 @@ import ( "path/filepath" "go.wit.com/gui" - "go.wit.com/lib/gui/shell" "go.wit.com/lib/debugger" "go.wit.com/lib/gadgets" + "go.wit.com/lib/gui/shell" "go.wit.com/log" ) @@ -49,10 +49,10 @@ func main() { if args.NoGui { shell.TestTerminalColor() - if cBox.buildPackage() { + if err := cBox.buildPackage(); err == nil { log.Info("build worked") } else { - log.Warn("build failed") + log.Warn("build failed:", err) os.Exit(-1) } os.Exit(0) |
