docs/versions/6.0.0/reference/be/shell.mdx
</td>
</tr>
<tr>
<td id="sh_binary.deps">
<code>deps</code>
</td>
<td>
<p><code>List of <a href="/versions/6.0.0/concepts/labels">labels</a>; optional</code></p>
The list of "library" targets to be aggregated into this target.
See general comments about <code>deps</code>
at <a href="/versions/6.0.0/reference/be/common-definitions#typical.deps">Typical attributes defined by
most build rules</a>.
<p>
This attribute should be used to list other <code>sh_library</code> rules that provide
interpreted program source code depended on by the code in <code>srcs</code>. The files
provided by these rules will be present among the <code>runfiles</code> of this target.
</p>
</td>
</tr>
<tr>
<td id="sh_binary.srcs">
<code>srcs</code>
</td>
<td>
<p><code>List of <a href="/versions/6.0.0/concepts/labels">labels</a>; required</code></p>
The file containing the shell script.
<p>
This attribute must be a singleton list, whose element is the shell script.
This script must be executable, and may be a source file or a generated file.
All other files required at runtime (whether scripts or data) belong in the
<code>data</code> attribute.
</p>
</td>
</tr>
</tbody>
</td>
</tr>
<tr>
<td id="sh_library.deps">
<code>deps</code>
</td>
<td>
<p><code>List of <a href="/versions/6.0.0/concepts/labels">labels</a>; optional</code></p>
The list of "library" targets to be aggregated into this target.
See general comments about <code>deps</code>
at <a href="/versions/6.0.0/reference/be/common-definitions#typical.deps">Typical attributes defined by
most build rules</a>.
<p>
This attribute should be used to list other <code>sh_library</code> rules that provide
interpreted program source code depended on by the code in <code>srcs</code>. The files
provided by these rules will be present among the <code>runfiles</code> of this target.
</p>
</td>
</tr>
<tr>
<td id="sh_library.srcs">
<code>srcs</code>
</td>
<td>
<p><code>List of <a href="/versions/6.0.0/concepts/labels">labels</a>; optional</code></p>
The list of input files.
<p>
This attribute should be used to list shell script source files that belong to
this library. Scripts can load other scripts using the shell's <code>source</code>
or <code>.</code> command.
</p>
</td>
</tr>
</tbody>
</td>
</tr>
<tr>
<td id="sh_test.deps">
<code>deps</code>
</td>
<td>
<p><code>List of <a href="/versions/6.0.0/concepts/labels">labels</a>; optional</code></p>
The list of "library" targets to be aggregated into this target.
See general comments about <code>deps</code>
at <a href="/versions/6.0.0/reference/be/common-definitions#typical.deps">Typical attributes defined by
most build rules</a>.
<p>
This attribute should be used to list other <code>sh_library</code> rules that provide
interpreted program source code depended on by the code in <code>srcs</code>. The files
provided by these rules will be present among the <code>runfiles</code> of this target.
</p>
</td>
</tr>
<tr>
<td id="sh_test.srcs">
<code>srcs</code>
</td>
<td>
<p><code>List of <a href="/versions/6.0.0/concepts/labels">labels</a>; required</code></p>
The file containing the shell script.
<p>
This attribute must be a singleton list, whose element is the shell script.
This script must be executable, and may be a source file or a generated file.
All other files required at runtime (whether scripts or data) belong in the
<code>data</code> attribute.
</p>
</td>
</tr>
</tbody>