commit | ab2fd25e1d915f79af4ab9195602be4cb6652cb1 | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Wed Sep 27 05:59:43 2017 -0400 |
committer | John Cater <jcater@google.com> | Wed Sep 27 10:01:35 2017 -0400 |
tree | 43b1db8be10e656f370383c4058808d2467edab4 | |
parent | e10526a072bcb1be05152d0a2f0e72f671c80754 [diff] |
Reorganise the srcs_version attribute of py_binary/py_test/py_library rules: make the default for srcs_version be "PY2AND3" (while leaving default_python_version at "PY2"), since that's a more likely situation and a more obvious error condition. (Having PY2 as the default caused 2to3 to be used a lot more than necessary, which in turn can both hide and cause bugs.) Also, use attribute value restrictions to limit srcs_version and default_python_version to sensible values for the specific rule type. PiperOrigin-RevId: 170174546
{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.