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:
parent
1baf14f65c
commit
ee0442db9c
18
docs/write_source_files.md
generated
18
docs/write_source_files.md
generated
|
@ -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
|
||||||
|
|
|
@ -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 = {},
|
||||||
|
|
Loading…
Reference in a new issue