my_rule

This rule exercises some of the build API.

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
depsA list of dependencies.List of labelsoptional[]
extra_arguments-List of stringsoptional[]
outThe output file.Labelrequired
srcThe source file.LabeloptionalNone
toolThe location of the tool to use.Labeloptional//foo/bar/baz:target

MyInfo

FIELDS

NameDescription
fooSomething foo-related.
barSomething bar-related.

exercise_the_api

my_rule_impl

PARAMETERS

NameDescriptionDefault Value
ctx - none