2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-12-02 10:15:22 +00:00
bazel-lib/lib
Steven E. Harris 3af9e00308
docs: clarify write_source_files output constraint (#498)
* docs: clarify write_source_files output constraint

For both the "write_source_files" rule's "files" attribute and the
"write_source_file" rule's "out_file" attribute, we ensure that the
destination files and directories to which we'll write sit within the
same containing Bazel package as the Bazel target requesting this
writing. Clarify the documentation for each attribute to make it clear
that we're constraining the destinations and not the sources of the
content to be written.

* Update lib/write_source_files.bzl

---------

Co-authored-by: Derek Cormier <derek@aspect.dev>
2023-08-23 12:32:56 -07:00
..
private docs: clarify write_source_files output constraint (#498) 2023-08-23 12:32:56 -07:00
tests feat: yq supports stamping 2023-06-15 16:50:26 -07:00
base64.bzl feat: add base64 encode & decode utility functions (#292) 2022-11-25 17:00:02 -08:00
bazelrc_presets.bzl fix: add missing **kwargs to write_aspect_bazelrc_presets (#379) 2023-02-22 12:17:00 -08:00
BUILD.bazel chore: run buildifier 2023-06-13 16:28:17 -07:00
copy_directory.bzl feat: hardlink generated files in copy_to_directory and copy_directory instead of copying (#321) 2023-01-16 17:19:13 -08:00
copy_file.bzl feat: add copy_file_action helper function to the public API (#68) 2022-04-12 13:58:30 -07:00
copy_to_bin.bzl fix: add copy_file_to_bin_action and copy_files_to_bin_actions to //lib:copy_to_bin.bzl (#72) 2022-04-13 13:55:41 -07:00
copy_to_directory.bzl chore: cleanup copy_to_directory docs and expose attr docstrings via lib for use downstream (#330) 2023-01-15 13:24:15 -08:00
diff_test.bzl feat: add executable attribute to write_source_files 2022-12-03 10:46:08 -08:00
directory_path.bzl Add DefaultOutputPathInfo provider and update write_source_files to accept it (#48) 2022-03-14 17:33:52 -07:00
docs.bzl feat: add doc helpers (#2) 2021-11-10 06:34:00 -08:00
expand_make_vars.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
expand_template.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
extensions.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
glob_match.bzl chore: turn on more basic precommit checks 2023-02-17 11:00:00 -08:00
host_repo.bzl feat: add @aspect_bazel_lib_host repository and normalize function names in repo_utils (#90) 2022-04-28 14:18:06 -07:00
jq.bzl chore: document JQ_BIN make var 2023-07-26 13:18:31 -07:00
output_files.bzl feat: replace default_info_files with output_files which adds output_group attribute (#50) 2022-03-15 17:36:22 -07:00
params_file.bzl fix: formatting for new docsite (#302) 2022-12-28 08:03:18 -08:00
paths.bzl feat: add to_rlocation_path and to_repository_relative_path functions to paths.bzl (#362) 2023-02-11 12:36:49 -08:00
platform_utils.bzl fix: don't generate @aspect_bazel_lib_local_config_platform repository as it is a leaky abstraction for rule consumers and not just rule authors (#243) 2022-09-13 21:58:08 -07:00
repo_utils.bzl feat: add @aspect_bazel_lib_host repository and normalize function names in repo_utils (#90) 2022-04-28 14:18:06 -07:00
repositories.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
run_binary.bzl feat: add run_binary with output directory support & improved makevar expansion (#57) 2022-03-31 20:04:35 -07:00
stamping.bzl Update stamping.bzl 2023-04-18 13:27:19 -07:00
strings.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
testing.bzl fix: support special chars in assert_contains expected expression (#426) 2023-05-10 16:07:40 -07:00
transitions.bzl Add platform_transition_binary rule (#289) 2022-12-14 11:21:08 -08:00
utils.bzl feat: detect bzlmod automatically rather than requiring the user sets the flag. 2023-03-31 14:56:22 -07:00
windows_utils.bzl feat: add create_windows_native_launcher_script to lib/windows_utils.bzl (#75) 2022-04-14 09:01:08 -07:00
write_source_files.bzl docs: clarify write_source_files output constraint (#498) 2023-08-23 12:32:56 -07:00
yq.bzl feat: yq supports stamping 2023-06-15 16:50:26 -07:00