plain-carpet-73994
05/17/2021, 12:33 AMExternalTool
and then a custom rule that uses that tool but that seems like a fair amount of work. What I was hoping for is a target
type like download_file
that is similar to ExternalTool
but I can then just use that as a dependency in tests that require the tool. That seems much easier as I'd pretty much just have to specify a URL and be done while ExternalTool
requires creating a class and a custom rule and then tests that require it can't do a simple pants test some/thing/needing/emulator/::
because the custom rule wouldn't be test
- so I think I'd need to create a new target type too and then connect the rule to the target, etc.files
that takes a URL, downloads it and caches it.hundreds-father-404
05/17/2021, 1:27 AMenough-analyst-54434
05/17/2021, 1:33 AMhundreds-father-404
05/17/2021, 1:35 AMhappy-kitchen-89482
05/17/2021, 2:32 PMhundreds-father-404
05/17/2021, 3:43 PM