diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 06:58:33 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 06:58:33 -0500 |
| commit | 6925e1ccb0d75a0518992d210e5dcf8a4e1a386f (patch) | |
| tree | 822f8692afa94b67ac8c62d2be92a9f9039d85f1 /main.go | |
| parent | 97a0f679f62ba0c6050b52cf667a47bff680b760 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,12 +1,19 @@ package main import ( + "os" + "go.wit.com/lib/protobuf/forgepb" + "go.wit.com/log" ) // go will sit here until the window exits func main() { - forge := forgepb.Init() + forge, err := forgepb.Init() + if err != nil { + log.Info("forge not installed", err) + os.Exit(-1) + } cmd := []string{"make", "install"} if repo := forge.Repos.FindByNamespace("go.wit.com/toolkits/gocui"); repo != nil { |
