protovalidate
protovalidate copied to clipboard
Bazel: add MODULE.bazel files for bzlmod
I'm trying a migration to bzlmod here.
go_googleapis is missing here because rules_go has removes it from it's dependencies
Signed-off-by: Matthieu MOREL [email protected]
Do we need to make any changes to CI to use bzlmod?
Bzlmod itself doesn't require it but something else could.
While running generate-bazel an extra buf_push appears and it's not yet available in a release yet.
So I'm wondering if it's not too early to use bzlmod after all
Bzlmod itself doesn't require it but something else could.
(Sorry, unfamiliar with bzlmod and only weakly familiar with bazel as a whole)
I mean, do we need to execute anything in CI to ensure that the module works with bzlmod.
To enable bzlmod, you need to use --enable_bzlmod
argument in your command line.
-
bazel build --enable_bzlmod //example/...
because of the absence of go_googleapis. -
bazel build --enable_bzlmod //proto/...
is working