commit | 271b8cec28ebae35887adb37c36ff126389f3db7 | [log] [tgz] |
---|---|---|
author | gregce <gregce@google.com> | Tue Feb 04 08:33:28 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 04 08:34:36 2020 -0800 |
tree | 44abda8f062a45dd5146d810bf38f201eb41af56 | |
parent | 43ce0d48cafde6a412eac73780ea0af2eca75401 [diff] |
$ blaze config: add --output=json This also generally refactors ConfigCommand to make a clean separation between structural logic and output formatting logic. ConfigCommand is responsible for taking a raw BuildConfiguration and translating it into appropriate data structures that represent what it wants to output: what data is output, how data relates to other data, and how results are ordered. An output formatter then consumes these data structures to style the output accordingly. This also moves the logic that handled both out of BuildConfiguration & FragmentOptions. It's neat how simple this makes JsonOutputFormatter. :) Serves https://github.com/bazelbuild/bazel/issues/10613. PiperOrigin-RevId: 293152292
{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