Hi all! I’m writing a new plugin and I’m curious a...
# general
c
Hi all! I’m writing a new plugin and I’m curious about the use of dependencies in a build target. My assumption was that pants would internally sort and build dependencies in topological order, when they are defined in the list of addresses. However, I have two targets defined for the new plugin, where A depends on B, with B listed as a dependent of A, but A is still built first. Is there something I’m not understanding? Also after looking as several of the built-in targets/tasks, I can definitely see where they compute the transitive closure for a dependency, but not necessarily if/how/where it calls them to be built (assuming in contrast, that the plugins themselves handle the graph). Either way, just curious. Any information is greatly appreciated. Thanks!
Also, both A and B in my example are of the same target/task/product type