Skip to content

fix(proto): make generation find installed plugins - #3

Open
vikions wants to merge 1 commit into
circlefin:mainfrom
vikions:fix-proto-tool-path
Open

fix(proto): make generation find installed plugins#3
vikions wants to merge 1 commit into
circlefin:mainfrom
vikions:fix-proto-tool-path

Conversation

@vikions

@vikions vikions commented May 14, 2026

Copy link
Copy Markdown

Summary

This PR makes make proto more reliable in fresh local environments.

The target already installs buf, protoc-gen-go, and protoc-gen-go-grpc into $(go env GOPATH)/bin, but buf generate resolves local plugins through PATH. If GOPATH/bin is not already included in the caller’s PATH, proto generation can fail right after installing the required tools.

This change prepends $(GO_BIN) when running buf generate, so the freshly installed protoc plugins are discoverable without requiring developers to update their shell environment manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant