Fix name arg documentation for native_binary (#338)
This commit is contained in:
parent
6e30a77347
commit
ecc11f9a4c
|
@ -26,7 +26,7 @@ You can "bazel run" this rule like any other binary rule, and use it as a tool i
|
|||
|
||||
| Name | Description | Default Value |
|
||||
| :------------- | :------------- | :------------- |
|
||||
| <a id="native_binary-name"></a>name | The name of the test rule. | none |
|
||||
| <a id="native_binary-name"></a>name | The name of the rule. | none |
|
||||
| <a id="native_binary-src"></a>src | label; path of the pre-built executable | none |
|
||||
| <a id="native_binary-out"></a>out | output; an output name for the copy of the binary. (Bazel requires that this rule make a copy of 'src'.) | none |
|
||||
| <a id="native_binary-data"></a>data | list of labels; data dependencies | <code>None</code> |
|
||||
|
|
|
@ -72,7 +72,7 @@ def native_binary(name, src, out, data = None, **kwargs):
|
|||
You can "bazel run" this rule like any other binary rule, and use it as a tool in genrule.tools for example. You can also augment the binary with runfiles.
|
||||
|
||||
Args:
|
||||
name: The name of the test rule.
|
||||
name: The name of the rule.
|
||||
src: label; path of the pre-built executable
|
||||
out: output; an output name for the copy of the binary. (Bazel requires that this rule make a copy of 'src'.)
|
||||
data: list of labels; data dependencies
|
||||
|
|
Loading…
Reference in New Issue