Skip to content
Verified Commit ea05186e authored by Jonathan Watson's avatar Jonathan Watson Committed by Matthew Clarkson
Browse files

feat: allow custom metadata files

```py
download_file(
    name = "example",
    metadata = {
        "//:integrity.tmpl.bzl", ".integrity.bzl",
    },
)
```

Where `integrity.tmpl.bzl` is:

```py
visibility("public")

INTEGRITY = "{{integrity}}"
```

Then `@example//:.integrity.bzl"` can be used in `load` statement to read the download integrity.
parent 8d26b466
Loading
Loading
Loading
Loading
  • GITLAB_TOKEN @group_3575_bot_1fa64dd2caebb37307063a803b95a420

    mentioned in commit 613745e3

    ·

    mentioned in commit 613745e3

    Toggle commit list
  • GITLAB_TOKEN @group_3575_bot_1fa64dd2caebb37307063a803b95a420

    mentioned in commit cd183fed

    ·

    mentioned in commit cd183fed

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment