Open
Description
Adding custom rules is quite a fundamental part of a build system, but as far as I can tell the API for rule()
is not documented at all. The best you get is a single example in this page:
pascal_binary = rule(
impl = pascal_binary_impl,
attrs = {
"deps": attrs.list(attrs.dep()),
"src": attrs.source(),
}
)
I tracked the source to here which lists all the parameters:
impl
attrs
cfg
doc
is_configuration_rule
is_toolchain_rule
uses_plugins
eval
Metadata
Assignees
Labels
No labels
Activity