blob: f0e989f3e90bf08473e9fe5ffa57b21262b133e0 [file] [log] [blame]
load(":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_files = True,
single_file = True,
),
"second": attr.string_dict(mandatory = True),
},
)