bazel-skylib/docs
UebelAndre 16bf90d4ae
Support modern location expansions for run_binary (#490)
A common point of confusion I see around `run_binary` is that it's hard coded to only expand `$(location` values which in codebases I work in are otherwise completely eliminated due to it being described as "legacy"

> location: A synonym for either execpath or rootpath, depending on the attribute being expanded. This is legacy pre-Starlark behavior and not recommended unless you really know what it does for a particular rule. See [#2475](https://github.com/bazelbuild/bazel/issues/2475#issuecomment-339318016) for details.

If `execpath` is used instead as the appropriate alternative, the rule does no do any expansion and fails the action. This change adds support for expanding all available patterns whenever they're provided.
2024-04-30 17:19:34 -04:00
..
private Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
BUILD Add helper functions for module extensions as `modules` (#456) 2024-04-24 14:53:32 -04:00
analysis_test_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
build_test_doc.md Bump stardoc dep to unbreak build with --experimental_enable_bzlmod (#398) 2022-10-03 05:13:46 -04:00
bzl_library.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
collections_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
common_settings_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
copy_directory_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
copy_file_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
dicts_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
diff_test_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
expand_template_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
maintainers_guide.md Add missing comma (#505) 2024-04-25 18:06:33 -04:00
modules_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
native_binary_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
new_sets_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
partial_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
paths_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
run_binary_doc.md Support modern location expansions for run_binary (#490) 2024-04-30 17:19:34 -04:00
select_file_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
selects_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
shell_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
structs_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
subpackages_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
types_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
unittest_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
versions_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00
write_file_doc.md Prepare release 1.6.0 (#496) 2024-04-24 17:40:06 -04:00