4 ms·
There are 3 tools that that makes maintaining BUILD files enjoyable: buildifier, buildozer and build_cleaner (internal only unfortunately).
by yegle 2y ago
There are 3 tools that that makes maintaining BUILD files enjoyable: buildifier, buildozer and build_cleaner (internal only unfortunately).
- lopkeny12ko 2y agoWhat is build_cleaner?
- randomifcpfan 2y agoA tool for updating bazel build target dependencies. It inspects build files and source code, then adds/removes dependencies from build targets as needed. It requires using global include paths in C/C++ sources. It is not perfect, but it is pretty nice!
- rsc 2y agoIf you're using Go with Bazel, gazelle is available outside Google: https://github.com/bazelbuild/bazel-gazelle https://github.com/bazelbuild/bazel-gazelle Enabling tools like these was exactly the point of the enforced formatting. It worked extremely well.
- dijit 2y agoI should add that it seems Gazelle is being expanded to other programming languages other than Go. For example: https://github.com/Calsign/gazelle_rust https://github.com/Calsign/gazelle_rust