aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/provider_basic_test/input.bzl
blob: 7600f2c38405a1a38b913aa017108378c49b5b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# buildifier: disable=module-docstring
MyPoorlyDocumentedInfo = provider()

MyFooInfo = provider(
    doc = "Stores information about a foo.",
    fields = ["bar", "baz"],
)

MyVeryDocumentedInfo = provider(
    doc = """
A provider with some really neat documentation.
Look on my works, ye mighty, and despair!
""",
    fields = {
        "favorite_food": "A string representing my favorite food",
        "favorite_color": "A string representing my favorite color",
    },
)