https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

12/12/2021, 9:14 PM
Alright, I'm picking back up the
pex_binaries
generator work, and this time doing it right. Hitting a 🧩 . After wiring up the code, I
./pants peek ../BUILD
which contains my generator target, but see the generator target and not the generated targets. branch: https://github.com/thejcannon/pants/tree/pex_binaries2
cmd:
./pants peek build-support/bin/BUILD
f

fast-nail-55400

12/12/2021, 9:20 PM
Looking at the latest commit on that branch, you need to add the applicable
UnionRule
👍 1
UnionRule(GenerateTargetsRequest, GenerateTargetsFromPexBinariesFromEntryPoints)
add that to the
rules
function at the bottom of the file
b

bitter-ability-32190

12/12/2021, 9:27 PM
😅
thanks!