buildtools icon indicating copy to clipboard operation
buildtools copied to clipboard

Initial open-sourcing of add_dep tool

Open cushon opened this issue 1 year ago • 0 comments

See https://github.com/bazelbuild/bazel/issues/4990

This is a lightly modified fork of the internal tool, with updates to e.g. use bazel instead of blaze, and use the standard flags package, etc. I confirmed that it works on examples like https://github.com/bazelbuild/bazel/issues/4990.

One open question here is test coverage. The internal implementation has a suite of e2e integration tests that can be run manually. They set up a tiny bazel workspace, do a build that produces an add_dep error, and confirm that running the provided command fixes the build. I could look at externalizing those. It would be nicer to have something that could run on CI.

cushon avatar May 13 '24 15:05 cushon