Give BuildSettingInfo's value field a description (#167)
This commit is contained in:
parent
21ee269a55
commit
10851c2c5b
|
@ -287,7 +287,7 @@ A singleton provider that contains the raw value of a build setting
|
||||||
<tr id="BuildSettingInfo-value">
|
<tr id="BuildSettingInfo-value">
|
||||||
<td><code>value</code></td>
|
<td><code>value</code></td>
|
||||||
<td>
|
<td>
|
||||||
<p>(Undocumented)</p>
|
<p>The value of the build setting in the current configuration. This value may come from the command line or an upstream transition, or else it will be the build setting's default.</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -23,7 +23,11 @@ https://docs.bazel.build/versions/master/skylark/config.html#user-defined-build-
|
||||||
|
|
||||||
BuildSettingInfo = provider(
|
BuildSettingInfo = provider(
|
||||||
doc = "A singleton provider that contains the raw value of a build setting",
|
doc = "A singleton provider that contains the raw value of a build setting",
|
||||||
fields = ["value"]
|
fields = {
|
||||||
|
"value": "The value of the build setting in the current configuration. "
|
||||||
|
+ "This value may come from the command line or an upstream transition, "
|
||||||
|
+ "or else it will be the build setting's default."
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
def _impl(ctx):
|
def _impl(ctx):
|
||||||
|
|
Loading…
Reference in New Issue