commit | 59d7864b3a39008e6b4d1447abcdc59cd9906e88 | [log] [tgz] |
---|---|---|
author | philwo <philwo@google.com> | Tue Feb 11 07:56:46 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 11 07:57:46 2020 -0800 |
tree | eddfbba80035d109e1797dae3e1e83c43b062b12 | |
parent | 29f370d8db4f8a6f053ee775b39ff70f1d8d974e [diff] |
Fix #10459: Support .bazelversion files without a trailing newline. This brought up the question of how to handle a completely empty .bazelversion file. I checked what Bazelisk does in this case (silently assume that the latest stable Bazel version should be used, just as if you explicitly write "latest" into the file). Thus we slightly change the behavior of the wrapper to more closely match the behavior of Bazelisk, which will help to reduce user confusion. RELNOTES: None. PiperOrigin-RevId: 294438748
{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