Skip to content

Commit

Permalink
Support specifying input patterns for unix_env_components
Browse files Browse the repository at this point in the history
Summary:
This allows using a pattern to restrict the input sources that
get copied from the backing input source.

See D60154631 as an example.

Reviewed By: lty1308

Differential Revision: D60154629

fbshipit-source-id: 8a9a43398836712d7bb589d5738b2c31dfc68d5b
  • Loading branch information
andrewjcg authored and facebook-github-bot committed Jul 24, 2024
1 parent c05073f commit 5d2d658
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unix/providers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ UnixEnv = record(
binaries = field(list[ManifestInfo], []),
# Raw paths to install.
paths = field(list[(str, ArtifactExt)], []),
patterns = field(list[(str, ArtifactExt, str)], []),
)

UnixEnvTSet = transitive_set()
Expand Down

0 comments on commit 5d2d658

Please sign in to comment.