| rule_info { |
| rule_name: "allowlisted_dep_rule" |
| doc_string: "This is the dep rule. It does stuff." |
| attribute { |
| name: "name" |
| doc_string: "A unique name for this target." |
| type: NAME |
| mandatory: true |
| } |
| attribute { |
| name: "first" |
| doc_string: "dep\'s my_rule doc string" |
| type: LABEL |
| mandatory: true |
| } |
| attribute { |
| name: "second" |
| type: STRING_DICT |
| mandatory: true |
| } |
| } |
| rule_info { |
| rule_name: "my_rule" |
| doc_string: "This is my rule. It does stuff." |
| attribute { |
| name: "name" |
| doc_string: "A unique name for this target." |
| type: NAME |
| mandatory: true |
| } |
| attribute { |
| name: "first" |
| doc_string: "first my_rule doc string" |
| type: LABEL |
| mandatory: true |
| } |
| attribute { |
| name: "second" |
| type: STRING_DICT |
| mandatory: true |
| } |
| } |
| rule_info { |
| rule_name: "other_rule" |
| doc_string: "This is another rule." |
| attribute { |
| name: "name" |
| doc_string: "A unique name for this target." |
| type: NAME |
| mandatory: true |
| } |
| attribute { |
| name: "test" |
| type: STRING_DICT |
| mandatory: true |
| } |
| } |
| rule_info { |
| rule_name: "yet_another_rule" |
| doc_string: "This is yet another rule" |
| attribute { |
| name: "name" |
| doc_string: "A unique name for this target." |
| type: NAME |
| mandatory: true |
| } |
| attribute { |
| name: "test" |
| type: STRING_DICT |
| mandatory: true |
| } |
| } |