https://pantsbuild.org/ logo
b

bitter-ability-32190

05/07/2022, 1:14 AM
Given a generic address/target
project/hello/main:cmds
I want to get possible targets it could generate (if any, otherwise I get itself back). I can't seem to figure out how from grokking the code
h

hundreds-father-404

05/07/2022, 1:17 AM
I think _TargetParametrizations
b

bitter-ability-32190

05/07/2022, 1:35 AM
Ah that didn't work originally because I was missing the rules in the rule runner which generates the targets
👍 1
However adding the relevant file'
*rules()
to the runner causes a graph error 😵
🤔 1
h

hundreds-father-404

05/07/2022, 1:45 AM
you could copy and paste a rulerunner from working tests and then prune from there (or not)
b

bitter-ability-32190

05/07/2022, 1:45 AM
I know the one rule I need, it just feels dirty to use it directly