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

Build protoc plugins in release mode #647

Merged
merged 1 commit into from
Dec 9, 2019
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 9, 2019

Motivation:

It's easy for users to build the protoc plugins in debug mode (the
default for the Makefile) without realising. They then have to dig
through the build output to find the right binaries. This should be
easier for users.

Modifications:

  • Build the plugins in release mode when invoked via make plugins
  • Copy the plugins to the current directory after building them

Result:

Easier to find the protoc plugins.

Motivation:

It's easy for users to build the protoc plugins in debug mode (the
default for the Makefile) without realising. They then have to dig
through the build output to find the right binaries. This should be
easier for users.

Modifications:

- Build the plugins in release mode when invoked via `make plugins`
- Copy the plugins to the current directory after building them

Result:

Easier to find the protoc plugins.
@glbrntt glbrntt requested a review from MrMage December 9, 2019 10:57
@glbrntt glbrntt merged commit 27dc451 into grpc:nio Dec 9, 2019
@glbrntt glbrntt deleted the gb-plugins-release branch December 9, 2019 11:43
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.

2 participants