• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!-- Generated with Stardoc: http://skydoc.bazel.build -->
2
3<a name="#my_rule"></a>
4
5## my_rule
6
7<pre>
8my_rule(<a href="#my_rule-name">name</a>, <a href="#my_rule-a">a</a>, <a href="#my_rule-b">b</a>, <a href="#my_rule-c">c</a>, <a href="#my_rule-d">d</a>, <a href="#my_rule-e">e</a>, <a href="#my_rule-f">f</a>, <a href="#my_rule-g">g</a>, <a href="#my_rule-h">h</a>, <a href="#my_rule-i">i</a>, <a href="#my_rule-j">j</a>, <a href="#my_rule-k">k</a>, <a href="#my_rule-l">l</a>, <a href="#my_rule-m">m</a>, <a href="#my_rule-n">n</a>, <a href="#my_rule-o">o</a>, <a href="#my_rule-p">p</a>, <a href="#my_rule-q">q</a>, <a href="#my_rule-r">r</a>, <a href="#my_rule-s">s</a>, <a href="#my_rule-t">t</a>, <a href="#my_rule-u">u</a>, <a href="#my_rule-v">v</a>, <a href="#my_rule-w">w</a>)
9</pre>
10
11This is my rule. It does stuff.
12
13**ATTRIBUTES**
14
15
16| Name  | Description | Type | Mandatory | Default |
17| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
18| name |  A unique name for this target.   | <a href="https://bazel.build/docs/build-ref.html#name">Name</a> | required |  |
19| a |  Some bool   | Boolean | optional | False |
20| b |  Some int   | Integer | optional | 2 |
21| c |  Some int_list   | List of integers | optional | [0, 1] |
22| d |  Some label   | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | //foo:bar |
23| e |  Some label_keyed_string_dict   | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: Label -> String</a> | optional | {"//foo:bar": "hello", "//bar:baz": "goodbye"} |
24| f |  Some label_list   | <a href="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional | ["//foo:bar", "//bar:baz"] |
25| g |  Some string   | String | optional | "" |
26| h |  Some string_dict   | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {"animal": "bunny", "color": "orange"} |
27| i |  Some string_list   | List of strings | optional | ["cat", "dog"] |
28| j |  Some string_list_dict   | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> List of strings</a> | optional | {"animal": ["cat", "bunny"], "color": ["blue", "orange"]} |
29| k |  Some bool   | Boolean | required |  |
30| l |  Some int   | Integer | required |  |
31| m |  Some int_list   | List of integers | required |  |
32| n |  Some label   | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | required |  |
33| o |  Some label_keyed_string_dict   | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: Label -> String</a> | required |  |
34| p |  Some label_list   | <a href="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | required |  |
35| q |  Some string   | String | required |  |
36| r |  Some string_dict   | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | required |  |
37| s |  Some string_list   | List of strings | required |  |
38| t |  Some string_list_dict   | <a href="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> List of strings</a> | required |  |
39| u |  -   | String | optional | "" |
40| v |  -   | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
41| w |  -   | Integer | optional | 0 |
42
43
44<a name="#my_aspect"></a>
45
46## my_aspect
47
48<pre>
49my_aspect(<a href="#my_aspect-name">name</a>, <a href="#my_aspect-y">y</a>, <a href="#my_aspect-z">z</a>)
50</pre>
51
52This is my aspect. It does stuff.
53
54**ASPECT ATTRIBUTES**
55
56
57| Name | Type |
58| :-------------: | :-------------: |
59| deps| String |
60| attr_aspect| String |
61
62
63**ATTRIBUTES**
64
65
66| Name  | Description | Type | Mandatory | Default |
67| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
68| name |  A unique name for this target.   | <a href="https://bazel.build/docs/build-ref.html#name">Name</a> | required |   |
69| y |  some string   | String | optional |  "why" |
70| z |  -   | String | required |   |
71
72
73