damp-london-75918
02/03/2024, 12:20 AMadhoc_tool with a binary that uses its own caching mechanism to avoid redoing work? The cache is both an output and an input to the binary; is there a way to model this?
This is if I wanted to use Pants with another build system without rewriting that system in Pants. For a simple example, imagine Pants didn't have Go support, and I had a Python repo using Pants where I wanted to add a Go step that consumes files output by some Pants targets (e.g. protobuf codegen) and outputs files used by other Pants targets (e.g. by a python_distribution). If I wanted to do this quickly without writing my own plugin for the language, I'd want to just use the Go system_binary , but go , like many modern languages, has its own build system with a caching mechanism.broad-processor-92400
02/03/2024, 11:56 AMdamp-london-75918
02/07/2024, 11:28 PM