Some doc fixes (#100)
* fix up Args doc block. * add a module doc string
This commit is contained in:
parent
f5e50bc53c
commit
d3d5ba7d05
|
@ -39,7 +39,7 @@ def build_test(name, targets, **kwargs):
|
||||||
Args:
|
Args:
|
||||||
name: The name of the test rule.
|
name: The name of the test rule.
|
||||||
targets: A list of targets to ensure build.
|
targets: A list of targets to ensure build.
|
||||||
kwargs: The <a href="https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>.
|
**kwargs: The <a href="https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>.
|
||||||
"""
|
"""
|
||||||
if len(targets) == 0:
|
if len(targets) == 0:
|
||||||
fail("targets must be non-empty", "targets")
|
fail("targets must be non-empty", "targets")
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""Unit tests for build_test.bzl."""
|
||||||
|
|
||||||
load("//rules:build_test.bzl", "build_test")
|
load("//rules:build_test.bzl", "build_test")
|
||||||
|
|
||||||
def build_test_test_suite():
|
def build_test_test_suite():
|
||||||
|
|
Loading…
Reference in New Issue