2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00

FR-723: make WriteSourceFileInfo public (#724)

* FR-723: make WriteSourceFileInfo public

* Update docs

---------

Co-authored-by: Greg Magolan <greg@aspect.dev>
This commit is contained in:
Eric Hauser 2024-01-22 22:51:05 -07:00 committed by GitHub
parent 1baf14f65c
commit ee0442db9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

View file

@ -2,6 +2,24 @@
Public API for write_source_files Public API for write_source_files
<a id="WriteSourceFileInfo"></a>
## WriteSourceFileInfo
<pre>
WriteSourceFileInfo(<a href="#WriteSourceFileInfo-executable">executable</a>)
</pre>
Provider for write_source_file targets
**FIELDS**
| Name | Description |
| :------------- | :------------- |
| <a id="WriteSourceFileInfo-executable"></a>executable | Executable that updates the source files |
<a id="write_source_file"></a> <a id="write_source_file"></a>
## write_source_file ## write_source_file

View file

@ -2,9 +2,12 @@
load( load(
"//lib/private:write_source_file.bzl", "//lib/private:write_source_file.bzl",
_WriteSourceFileInfo = "WriteSourceFileInfo",
_write_source_file = "write_source_file", _write_source_file = "write_source_file",
) )
WriteSourceFileInfo = _WriteSourceFileInfo
def write_source_files( def write_source_files(
name, name,
files = {}, files = {},