acceptable-fountain-75945
06/29/2024, 2:55 PMmytarget(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:
@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.