aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/skydoc/testdata/misc_apis_test/golden.txt
blob: 6ce7cdfb5465d6fc645f59e0f43534b0a8103b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<a name="#my_rule"></a>
## my_rule

<pre>
my_rule(name, deps, extra_arguments, out, src, tool)
</pre>

This rule exercises some of the build API.

### Attributes

<table class="params-table">
  <colgroup>
    <col class="col-param" />
    <col class="col-description" />
  </colgroup>
  <tbody>
    <tr id="#my_rule_name">
      <td><code>name</code></td>
      <td>
        String; required
        <p>
          A unique name for this rule.
        </p>
      </td>
    </tr>
    <tr id="#my_rule_deps">
      <td><code>deps</code></td>
      <td>
        List of labels; optional
        <p>
          A list of dependencies.
These dependencies better provide MyInfo!
...or else.
        </p>
      </td>
    </tr>
    <tr id="#my_rule_extra_arguments">
      <td><code>extra_arguments</code></td>
      <td>
        List of strings; optional
      </td>
    </tr>
    <tr id="#my_rule_out">
      <td><code>out</code></td>
      <td>
        Label; required
        <p>
          The output file.
        </p>
      </td>
    </tr>
    <tr id="#my_rule_src">
      <td><code>src</code></td>
      <td>
        Label; optional
        <p>
          The source file.
        </p>
      </td>
    </tr>
    <tr id="#my_rule_tool">
      <td><code>tool</code></td>
      <td>
        Label; optional
        <p>
          The location of the tool to use.
        </p>
      </td>
    </tr>
  </tbody>
</table>