From d38f5dda75fd4c4ba8adcaf4125f60a50fe3269b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 12 Jan 2025 09:28:58 -0600 Subject: cleanups and help files --- main.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index d066507..41c8f77 100644 --- a/main.go +++ b/main.go @@ -145,10 +145,15 @@ func main() { // try to make foo.pb.go with protoc if it's not here // this is helpful because the protoc-gen-go lines // are also annoying to code by hand + checkCmd("protoc") + checkCmd("protoc-gen-go") pf.Pbfilename = pf.Filebase + ".pb.go" // try to create the foo.pb.go file using protoc if it is not there if !shell.Exists(pf.Pbfilename) { + checkCmd("protoc") + checkCmd("protoc-gen-go") + if err := pb.protocBuild(pf); err != nil { badExit(err) } -- cgit v1.2.3