diff options
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) |
