blob: ab999ca49a2a97677857c667df764a33dba28533 [file] [log] [blame]
def my_rule_impl(ctx):
return struct()
rule(
implementation = my_rule_impl,
attrs = {
"first": attr.label(mandatory = True, allow_single_file = True),
"second": attr.string_dict(mandatory = True),
"third": attr.output(mandatory = True),
"fourth": attr.bool(default = False, mandatory = False),
},
)