commit | eba3c22475fe1bed7d5ff740ed2329196ca03eb4 | [log] [tgz] |
---|---|---|
author | martinboehme <mboehme@google.com> | Fri Apr 09 16:29:18 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 09 16:30:33 2021 -0700 |
tree | a23c45c644eae94821c238d323fec0e4d867183e | |
parent | 95fe20491cc2dd0cc57b0a99980a6112437876e8 [diff] |
In example code for ctx.actions.run, put args in a list Per the documentation for `ctx.actions.run`, the `arguments` parameter should be a list of strings or `actions.args()` objects: https://docs.bazel.build/versions/master/skylark/lib/actions.html#run When I try to pass a single `actions.args()` object in my own code, I get an error, so I believe the code sample is wrong. Closes #13319. PiperOrigin-RevId: 367724818
{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