| commit | c5fcc86d1fb02ee20ad1ce6fadb2a73f54a691e1 | [log] [tgz] |
|---|---|---|
| author | Googler <noreply@google.com> | Fri Sep 06 16:17:47 2019 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 06 16:18:40 2019 -0700 |
| tree | 52a5c30c3ca29e02226870c7b19ce6d0cc646078 | |
| parent | 8a92740d6f12766d7be0b00c9eb93df88fc30e59 [diff] |
bazel packages: move lib.syntax.Type here Type is a concept of the build language, not of core Starlark. (Witness all the references to Label. That said, there appear to be three concepts---BuildType, Type, StarlarkType---where only two are necessary: the types of rule attributes, and a library of Starlark-to-Java conversion combinators.) This change is mostly mechanical, except: - MethodLibrary: two uses of Type.XYZ.convert replaced by ad-hoc code. - SkylarkDict: getDictFromArgs substantially rewritten to avoid Type. Its error messages were improved. I added comments re: harmful type parameterization. This CL depends on unknown commit, which first breaks Copybara's dependency on syntax.Type. PiperOrigin-RevId: 267694761
{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 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.