We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With 0.2.0 and 0.2.1-rc1, on both Darwin and Linux, the following .bzl fails with error "Type ctx has no function execute(list)". Anybody help?
_def _impl(ctx): result = ctx.execute(["/bin/echo", "something"]) print(result.stdout)
exec = rule( implementation=_impl, )
The text was updated successfully, but these errors were encountered:
execute is not a ctx function but a repository_ctx function. Also not present in 0.2.0.
ctx
repository_ctx
Sorry, something went wrong.
No branches or pull requests
With 0.2.0 and 0.2.1-rc1, on both Darwin and Linux, the following .bzl fails with error "Type ctx has no function execute(list)". Anybody help?
_def _impl(ctx):
result = ctx.execute(["/bin/echo", "something"])
print(result.stdout)
exec = rule(
implementation=_impl,
)
The text was updated successfully, but these errors were encountered: