commit | 64553797c63845d00c8ed162e4ddfae03295e8b9 | [log] [tgz] |
---|---|---|
author | jmmv <jmmv@google.com> | Thu Apr 19 12:32:59 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Thu Apr 19 12:34:13 2018 -0700 |
tree | 63f9bbd2a79e1fbce45858d58cd24d22f37781e6 | |
parent | 788b63a8c90e57dba511de82afd47ea73680c906 [diff] |
Reduce the state kept in OptionProcessor. Make the list of rc files a local variable as it need not be a class attribute, and drop the unused rcoptions_ field. This is a trivial refactoring and the remaining code is still too confusing. It'd be worth splitting OptionProcessor in two pieces: OptionProcessor to exclusively keep the virtual ParseOptions method and no state, and a new ParsedOptions type to act as the immutable return value of ParseOptions. This would decouple all state mutations. RELNOTES: None. PiperOrigin-RevId: 193557347
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.