-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
override-generator: allow users to specify default values (#1910)
If a repo specifies `gazelle_default_attributes` to be something different than the `gazelle_override` tag defaults, the user should be able to pass this to the override generator so that the output takes this into consideration, and skips outputing redundant information. This PR allows the user to specify a default `build_file_generation` and `build_file_proto_mode` that is used in their repo, and generate appropriate overrides. These two tags need to be handled manually after the other tags because of the non-trivial logic in them.
- Loading branch information
1 parent
d16fc42
commit 66d3092
Showing
2 changed files
with
321 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.