ducttape
ducttape copied to clipboard
Function calls require listing out packages
Say I have a function foo that uses package bar, e.g.
func foo : bar < in > out { "${bar}/cmd" "${in}" > "${out}" }
If I call foo the following way,
task foo_0 calls foo < in=@source > out
bar will not be exported in the generated script and thus the task will fail.
As a result, one must call with bar explicitly listed,
task foo_1 calls foo : bar < in=@source > out