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

hundreds-father-404

05/04/2022, 7:29 PM
We don't have dedicated examples of target generators yet, which we have discussed. But w/ Pants, core Pants uses the exact same plugin api It would look a bit like the target generator
pex_binaries
, but even simpler because you are generating 1->1 rather than 1->n so no need for things like the
overrides
field https://github.com/pantsbuild/pants/blob/cf172080a5de8140b4e244e15a2f6265498e957e/src/python/pants/backend/python/target_types_rules.py#L77-L124