ducttape icon indicating copy to clipboard operation
ducttape copied to clipboard

Function calls require listing out packages

Open kho opened this issue 10 years ago • 0 comments

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 

kho avatar Nov 27 '14 06:11 kho