blob: 6936c857c0484aba13389a79de23427bc45ca3e3 [file] [log] [blame]
rule_info {
rule_name: "my_rule"
doc_string: "This rule does my things."
attribute {
name: "name"
doc_string: "A unique name for this target."
type: NAME
mandatory: true
}
attribute {
name: "first"
type: LABEL
mandatory: true
}
attribute {
name: "fourth"
type: BOOLEAN
default_value: "False"
}
attribute {
name: "second"
type: STRING_DICT
mandatory: true
}
attribute {
name: "third"
type: OUTPUT
mandatory: true
}
}
func_info {
function_name: "exercise_the_api"
}
func_info {
function_name: "my_rule_impl"
parameter {
name: "ctx"
mandatory: true
}
}
module_docstring: "Tests that the documentation is generated even when unknown modules, calls, or providers are used."