Hi! I'm wondering what is a good practice for acce...
# general
a
Hi! I'm wondering what is a good practice for accessing the resultant files (artifacts?) generated by a custom plugin? I have a target
mytarget(name='xxx')
, which generates some artifacts; I also have a rule that transforms the target into a custom object
MyTargetResult
which is simply a digest wrapper:
Copy code
@rule
async def gen_result(tgt: Target) -> MyTargetResult:
    # implementation...

@dataclass(frozen=True)
class MyTargetResult:
    waveform: Digest
I also have a
goal_rule
that writes the
waveform
digest into some directory in the workspace. Now I want to create an
experimental_test_shell_command
target that depends on (reads files from) the
waveform
digest generated by the rule
gen_result
, what would be a good practice for doing this? I have full control over the rules/goals as well.