commit | 1da70f71eb4f0fc1d7c5dd8674051ef326e740eb | [log] [tgz] |
---|---|---|
author | gregce <gregce@google.com> | Mon Aug 02 16:24:22 2021 -0700 |
committer | John Cater <jcater@google.com> | Thu Aug 26 09:18:09 2021 -0400 |
tree | 79a6c36cfbc60b473082126c9b9d38a6716ef649 | |
parent | ba8678077024e1b4e5d7419c758a97e8dc9fceea [diff] |
cquery: disable `--build_tests_only`. PriorityCategory.SOFTWARE_REQUIREMENT cannot be overridden by the user, unlike PriorityCategory.COMPUTED_DEFAULT. Also another existing flag that I think deserves the same enforcement. Re: concerns about aquery: none of this affects aquery because aquery doesn't inherit from TestCommand: https://github.com/bazelbuild/bazel/blob/a03442dd7408cdc6ef936f96cd3146ff6b3d09dd/src/main/java/com/google/devtools/build/lib/runtime/commands/CqueryCommand.java#L56 https://github.com/bazelbuild/bazel/blob/a03442dd7408cdc6ef936f96cd3146ff6b3d09dd/src/main/java/com/google/devtools/build/lib/runtime/commands/AqueryCommand.java#L48 PiperOrigin-RevId: 388330077 (cherry picked from commit 9f67cdf3d51c05bc2209786aa24b72658b61362c)
{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