| <!-- Generated with Stardoc: http://skydoc.bazel.build --> |
| |
| <a name="#my_repo"></a> |
| |
| ## my_repo |
| |
| <pre> |
| my_repo(<a href="#my_repo-name">name</a>, <a href="#my_repo-useless">useless</a>) |
| </pre> |
| |
| Minimal example of a repository rule. |
| |
| ### Attributes |
| |
| <table class="params-table"> |
| <colgroup> |
| <col class="col-param" /> |
| <col class="col-description" /> |
| </colgroup> |
| <tbody> |
| <tr id="my_repo-name"> |
| <td><code>name</code></td> |
| <td> |
| <a href="https://bazel.build/docs/build-ref.html#name">Name</a>; required |
| <p> |
| A unique name for this repository. |
| </p> |
| </td> |
| </tr> |
| <tr id="my_repo-useless"> |
| <td><code>useless</code></td> |
| <td> |
| String; optional |
| <p> |
| This argument will be ingored. You don't have to specify it, but you may. |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| |
| |