https://pantsbuild.org/ logo
#general
Title
# general
n

narrow-activity-17405

01/19/2021, 9:02 AM
Is it possible to create more than one
resources
using a macro? The thing is... In each package within my monorepo, I'm defining two exactly the same resources, like this:
Copy code
resources(
    name = "py.typed",
    sources = ["py.typed"],
)

resources(
    name = "VERSION",
    sources = ["VERSION"],
)
It would be nice if I can simplify this to something like this:
Copy code
my_standard_resources()