blob: 3716325c82f3a7ad47fc39409657c8f92f5448e3 [file] [log] [blame]
# buildifier: disable=module-docstring
def my_rule_impl(ctx):
_ignore = [ctx] # @unused
return []
# buildifier: disable=unsorted-dict-items
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),
},
)