Skip to content

Commit

Permalink
docs(write_source_file): specify the name of the generated diff_test
Browse files Browse the repository at this point in the history
Fix #409
  • Loading branch information
jbedard committed Apr 19, 2023
1 parent a04c312 commit 8f40ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/write_source_files.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/private/write_source_file.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def write_source_file(
**kwargs):
"""Write a file or directory to the source tree.
By default, `diff_test` targets are generated that ensure the source tree file or directory to be written to
By default, a `diff_test` target ("{name}_test") is generated that ensure the source tree file or directory to be written to
is up to date and the rule also checks that the source tree file or directory to be written to exists.
To disable the exists check and up-to-date test set `diff_test` to `False`.
Expand Down

0 comments on commit 8f40ef1

Please sign in to comment.