Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function calls require listing out packages #172

Open
kho opened this issue Nov 27, 2014 · 0 comments
Open

Function calls require listing out packages #172

kho opened this issue Nov 27, 2014 · 0 comments

Comments

@kho
Copy link
Contributor

kho commented Nov 27, 2014

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 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant