You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gazelle): Do not build proto targets with default Gazelle (#3216)
Fixes#3209.
Revert the change to `//:gazelle_binary` so that it once again only
generates python code. We then create a new, private target
`//:_gazelle_binary_with_proto` that gets used by tests.
Update docs accordingly.
Longer term, I'd like to adjust the `test.yaml` file to include a
section:
```yaml
config:
gazelle_binary: _gazelle_binary_with_proto
```
So that test cases that need to generate `(py_)proto_library` targets
can use the multi-lang Gazelle binary and that tests that do _not_ need
to generate proto targets can use the single-lang Gazelle binary.
However, there were some minor roadblocks in doing so and thus I'm doing
this quick-to-implement method instead.
0 commit comments