HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.13, which is no longer officially supported. Click here for the latest version, 2.17!


Options for Pants's Shell support.

Backend: <span style="color: purple"><code>pants.backend.shell</code></span> Config section: <span style="color: purple"><code>[shell-setup]</code></span>

## Basic options

None

## Advanced options

<div style="color: purple">

### `executable_search_paths`

<code>--shell-setup-executable-search-paths="[&lt;binary-paths&gt;, &lt;binary-paths&gt;, ...]"</code><br> <code>PANTS_SHELL_SETUP_EXECUTABLE_SEARCH_PATHS</code><br>

</div> <div style="padding-left: 2em;"> <span style="color: green">default: <pre>[ "&lt;PATH&gt;" ]</pre></span>

<br>

The PATH value that will be used to find shells and to run certain processes like the shunit2 test runner.

The special string `"<PATH>"` will expand to the contents of the PATH env var.

</div> <br>

<div style="color: purple">

### `dependency_inference`

<code>--[no-]shell-setup-dependency-inference</code><br> <code>PANTS_SHELL_SETUP_DEPENDENCY_INFERENCE</code><br>

</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>True</code></span>

<br>

Infer Shell dependencies on other Shell files by analyzing `source` statements.

</div> <br>

<div style="color: purple">

### `tailor`

<code>--[no-]shell-setup-tailor</code><br> <code>PANTS_SHELL_SETUP_TAILOR</code><br>

</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>True</code></span>

<br>

If true, add `shell_sources` and `shunit2_tests` targets with the `tailor` goal.

</div> <br>

## Deprecated options

None