ambitious-actor-36781
09/14/2022, 5:52 AMdist/
Originally, we implemented this with an OutputPathField
subclass that we prefixed a hard-coded folder name into.
I decided that hardcoded values r bad and moved it into an option in a subsystem.
First pass I just used AddPrefix
on my Digests, but then my logs from pants package
were missing the prefix.
I then refactored it to call a small rule to prefix the value of the OutputPathField
... But this seems clumsy.
Is there a better way of doing it?witty-crayon-22786
09/14/2022, 3:53 PM@rule_helper
rather than a full @rule
to dedup the code?