commit | b58650a255f5f86adf4cac527f05f6ca867dbec3 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Tue Nov 10 10:27:37 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 10 10:29:02 2020 -0800 |
tree | 7a703645499d432c63217111bcd6aae699a23e77 | |
parent | a4cc19f5aad586c3e50b1fc7946c11deb9916468 [diff] |
bazel packages: minor StructProvider clean-ups - Remove concept of "error format strings" from Provider interface. Error messages are computed by a method. (Only the StarlarkInfo subclass now talks about format strings). - Eliminate StructProvider.create(Map, Location) by inlining 4 calls. - Improve wording of StarlarkProvider unknown field error message. - Add TODO notes on the challenge of moving the unknown field error messages entirely into Providers. This CL contains the uncomplicated parts a failed attempt to do those TODOs. PiperOrigin-RevId: 341647758
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md