aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/generated_bzl_test/input.bzl
blob: bad15f6608955b44ff044be4638722c20fef7568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""A direct dependency file of the input file."""

load(":testdata/generated_bzl_test/dep.bzl", "my_rule_impl")

my_rule = rule(
    implementation = my_rule_impl,
    doc = "This is my rule. It does stuff.",
    attrs = {
        "first": attr.label(
            mandatory = True,
            doc = "first my_rule doc string",
            allow_single_file = True,
        ),
        "second": attr.string_dict(mandatory = True),
    },
)