commit | bc7cc06d947af02805c7ceca1aa630ba6fee15f3 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Tue Dec 17 09:45:11 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Dec 17 09:46:08 2019 -0800 |
tree | e0228f27690a444932683e046b265bab206254e7 | |
parent | 2075b000c6aa3ba32a6a2ccd2bf49f4ba5b3b748 [diff] |
bazel packages: simplify exec(BUILD) control flow This change simplifies the control flow around executing a BUILD file so that each of the various checks---parse errors, validation errors, BUILD syntax checks, invalid package name, execution error---causes early exit using a return statement (no more 'ok' booleans). Also, merge the two passes over the BUILD syntax tree. The first rejects f(**kwargs) calls and the second extracts glob patterns. (They will soon be joined a third, to extract "generator_name" values statically.) PiperOrigin-RevId: 285998749
{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