Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make proto-gen targets not rely on GOPATH #4136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewmains12
Copy link
Contributor

Similar to #4135

Since m3 is now a go.mod project, it's no longer necessary to be checked out under GOPATH.

This PR makes our code generation reflect that fact. I've switched to use of relative paths in generate.go, which as I understand
it is the preferred way of doing things generally.

Our proto-gen script now takes in an actual path to proto files vs a logical path. It infers the logical repo path from the actual path.

Fixes #4134

Similar to #4135

Since m3 is now a go.mod project, it's no longer necessary to be checked out under GOPATH.

This PR makes our code generation reflect that fact. I've switched to use of relative paths in generate.go, which as I understand
it is the preferred way of doing things generally.

Our proto-gen script now takes in an actual path to proto files vs a logical path. It infers the logical repo path from the actual path.

Fixes #4134
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.

[devprod] Makefile target for creating mocks is broken
2 participants