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

lnrpc: genarete proto with correct version from tools #101

Merged
merged 1 commit into from
Jul 8, 2020
Merged

lnrpc: genarete proto with correct version from tools #101

merged 1 commit into from
Jul 8, 2020

Conversation

fguisso
Copy link
Member

@fguisso fguisso commented May 13, 2020

resolve #98

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't commit the binary files inside tools/bin

You should only have either lnrpc/tools.go or lnrpc/tools/tools.go

lnrpc/gen_protos.sh Outdated Show resolved Hide resolved
@fguisso fguisso changed the title lnrpc: genarete proto with docker lnrpc: genarete proto with correct version from tools May 29, 2020
@fguisso fguisso marked this pull request as ready for review May 29, 2020 21:32
This changes the generation procedure of protobuf bindings to use go modules
for fetching the required .proto files and to use a consistent protoc-gen-go
version even across different protoc versions.

This simplifies regenerating the bindings by devs by requiring fewer
external dependencies.

It also updates the docker files used for regenerating the bindings.
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.

Generate gRPC bindings via internal tool
2 participants