commit | 35c678567ba688e1a44124915b5778483f03cab6 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Wed Feb 12 14:58:03 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 12 14:59:01 2020 -0800 |
tree | 801759bdfea49760eeed60a4ad6de778077337ce | |
parent | 636430a30f3eef86062640d66e049df37ad16711 [diff] |
bazel syntax: avoid StarlarkThread.getGlobals within lib.syntax Another baby step to decoupling these classes: this change exposes a Module parameter from various lib.syntax API functions instead of using thread.getGlobals(), in most cases pushing the call into the callers. Construction of the thread and module is still entangled so we can't do more yet. Also: - rename parseAndValidate{,Skylark} and replace thread by semantics parameter. Now ValidatorTest doesn't depend on Thread. This is a breaking API change for copybara. PiperOrigin-RevId: 294764678
{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