• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""A direct dependency file of the input file."""
2
3load(":testdata/generated_bzl_test/dep.bzl", "my_rule_impl")
4
5my_rule = rule(
6    implementation = my_rule_impl,
7    doc = "This is my rule. It does stuff.",
8    attrs = {
9        "first": attr.label(
10            mandatory = True,
11            doc = "first my_rule doc string",
12            allow_single_file = True,
13        ),
14        "second": attr.string_dict(mandatory = True),
15    },
16)
17