diff options
| author | Jeff Carr <[email protected]> | 2025-01-12 09:28:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-12 09:28:58 -0600 |
| commit | d38f5dda75fd4c4ba8adcaf4125f60a50fe3269b (patch) | |
| tree | d7afe68d06123213b7935060a1124c78a475ea40 /main.go | |
| parent | 10f75f87a66a9329fd665bd85099fe94c7beae79 (diff) | |
cleanups and help files
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) } |
