Force BUILD.bazel generation with build_file_generation = "on"

65 views
Skip to first unread message

Jianliang Zhao

unread,
Aug 11, 2022, 9:14:46 PM8/11/22
to bazel-go-discuss
Hi All,

I tried to force the generation of new BUILD.bazel files in a remote repo imported with go_repository to replace the existing broken ones - it's not feasible for us to change the existing BUILD.bazel files. I tried to use the option build_file_generation = "on" in the go_repository rule, but it doesn't seem to work the way I've hoped. Does anyone know how to achieve it?

Thanks,
Jianliang
Reply all
Reply to author
Forward
0 new messages