aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/unknown_name_test/input.bzl
blob: 062f49d96cab377375aa42853b25ebac2031dccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# buildifier: disable=module-docstring
def my_rule_impl(ctx):
    return []

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),
    },
)