blob: 8213e0d7948d4c410013a80a68ee42f54191c22d [file] [log] [blame]
def my_rule_impl(ctx):
return struct()
my_rule = rule(
implementation = my_rule_impl,
doc = "This is the dep rule. It does stuff.",
attrs = {
"first": attr.label(mandatory = True, doc = "dep's my_rule doc string",
allow_files = True, single_file = True),
"second": attr.string_dict(mandatory = True),
},
)