diff options
| author | Jeff Carr <[email protected]> | 2025-01-08 19:45:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-08 19:45:48 -0600 |
| commit | 3fe2fde185b950215008e67a50364ec741f2fd09 (patch) | |
| tree | 25392d9c486a324afe61239d54b5e4395d3a3000 /protoc.go | |
| parent | 0a1eb821e9123f4e6793b410300803c610d4b804 (diff) | |
make a protofile for the app itself
that turns out to be a lot of fun!
Diffstat (limited to 'protoc.go')
| -rw-r--r-- | protoc.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,6 +42,11 @@ func protocBuild(names map[string]string) error { pwd, _ := os.Getwd() log.Info("go.Getwd()", pwd) if !strings.HasPrefix(pwd, argv.GoSrc) { + log.Info("are you building using a go.work file? If so,") + log.Info("your paths will not match because the default") + log.Info("is to use ~/go/src so you have to specify") + log.Info("where your path is with --go-src") + log.Info("todo: use forgepb to figure this out") return errors.New("paths don't match") } gopath := strings.TrimPrefix(pwd, argv.GoSrc) |
