commit | 9bd280ba663557a44c0177327cf668ff813a397d | [log] [tgz] |
---|---|---|
author | fwe <fwe@google.com> | Fri Sep 01 16:40:49 2017 +0200 |
committer | Vladimir Moskva <vladmos@google.com> | Fri Sep 01 20:07:53 2017 +0200 |
tree | f5aee5f629b362f26ea0211e4e312153a078a56e | |
parent | a8c00e2f40ab8a57e3630e774e8d0d9354f38472 [diff] |
Refactor HelpCommand by applying the visitor pattern to iterate over Bazel options in emitCompletionHelp(). This change is in preparation for unknown commit which introduces "bazel help flags" - a new command whose functionality is similar to the existing "bazel help completion". Both commands have to iterate over Bazel options, which means that applying the visitor patterns helps to avoid duplicate iteration code. I also tested this change by running "bazel help completion" with and without this change. PiperOrigin-RevId: 167273874
{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 system. 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.