Skip to content

Commit

Permalink
bazel: force Gazelle generation for xDS
Browse files Browse the repository at this point in the history
xDS has an upstream set of build files that makes Gazelle consider their project a whole new Bazel project, which makes Gazelle not generate any build files, even though the upstream ones aren't valid.

See cncf/xds#104.
  • Loading branch information
msanft committed Oct 15, 2024
1 parent 2e3779d commit c362f03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,10 @@ go_deps.module_override(
],
path = "github.com/google/go-tpm-tools",
)

# TODO(msanft):
# Remove once https://github.com/cncf/xds/issues/104 is resolved
go_deps.gazelle_override(
build_file_generation = "on",
path = "github.com/cncf/xds/go",
)

0 comments on commit c362f03

Please sign in to comment.