wide-midnight-78598
12/07/2022, 2:30 AMfiledeps
and/or --transitive
?hundreds-father-404
12/07/2022, 2:10 PMwide-midnight-78598
12/07/2022, 3:14 PMUnionRule(InferDependenciesRequest, InferCCDependenciesRequest)
We have dependencies
which works on targets it looks like, then filedeps
as well.
My underlying thing here is that in some cases, I was thinking about seeding dependency inference with some extra information based on targets or options - but I'm not sure if that would be reflected in the goals. So, from step 1, just trying to figure out which introspection API I should concern myself withhundreds-father-404
12/07/2022, 3:49 PM./pants peek path/to:tgt
to compare the raw declared deps vs the final set of depswide-midnight-78598
12/07/2022, 3:53 PMfiledeps
(List all source and BUILD files a target depends on.) and `dependencies`(List the dependencies of the input files/targets.)?hundreds-father-404
12/07/2022, 3:56 PMfiledeps
gets the sources of the deps. it ignores targets w/o files, and dedupes when multiple targets have the same sources. It also adds in the BUILD file where the target is definedwide-midnight-78598
12/07/2022, 3:56 PM