Skip to content

Make proto-gen targets not rely on GOPATH#4136

Open
andrewmains12 wants to merge 1 commit intomasterfrom
amains/gen_fix.all
Open

Make proto-gen targets not rely on GOPATH#4136
andrewmains12 wants to merge 1 commit intomasterfrom
amains/gen_fix.all

Conversation

@andrewmains12
Copy link
Copy Markdown
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