2.4 KiB
Executable File
Module Docstring: "Input file for input template test"
my_example
my_example(name, useless)
Small example of rule using chosen template.
input_template_test BOLD ATTRIBUTES
Attributes
name
Name; required
A unique name for this target.
useless
String; optional
This argument will be ignored.
example
example(foo, bar, baz)
Stores information about an example in chosen template.
input_template_test BOLD FIELDS
Fields
foo
A string representing foo
bar
A string representing bar
baz
A string representing baz
my_aspect_impl
my_aspect_impl(ctx)
input_template_test BOLD PARAMETERS
Parameters
ctx
required.
template_function
template_function(foo)
Runs some checks on the given function parameter.
This rule runs checks on a given function parameter in chosen template.
Use bazel build
to run the check.
input_template_test BOLD PARAMETERS
Parameters
foo
required. A unique name for this function.
my_aspect
my_aspect(name, first)
This is my aspect. It does stuff.
Aspect Attributes
deps
String; required.
attr_aspect
String; required.
Attributes
name
Name; required
A unique name for this target.
first
Label; required