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

Implemented ability to add build tags only to generator via -gen_build_flags #386

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

Conversation

reddiridabl666
Copy link

@reddiridabl666 reddiridabl666 commented May 17, 2023

Earlier, it was not possible to pass build tags to generator while not including them in generated files.

"-tags" flag inside "-gen_build_flags" was ignored, as it was being overridden with "-build_tags".

With these changes tags from both "-gen_build_flags" and "-build_tags" are applied to the generator, while only tags from "-build_tags" are included in the generated files

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