diff options
Diffstat (limited to 'test/testdata/aspect_test/input.bzl')
-rw-r--r-- | test/testdata/aspect_test/input.bzl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/testdata/aspect_test/input.bzl b/test/testdata/aspect_test/input.bzl index 72e35a5..38ddde0 100644 --- a/test/testdata/aspect_test/input.bzl +++ b/test/testdata/aspect_test/input.bzl @@ -6,11 +6,15 @@ def my_aspect_impl(ctx): my_aspect = aspect( implementation = my_aspect_impl, - doc = "This is my aspect. It does stuff.", + doc = """ + This is my aspect. + + It does stuff. + """, attr_aspects = ["deps", "attr_aspect"], attrs = { - "first": attr.label(mandatory = True, allow_single_file = True), - "second": attr.string_dict(mandatory = True), + "first": attr.bool(mandatory = True), + "second": attr.string(mandatory = True), }, ) |