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

shell-setup

Options for Pants's Shell support.

Backend: pants.backend.shell
Config section: [shell-setup]

Basic options

None

Advanced options

executable_search_paths

--shell-setup-executable-search-paths="[<binary-paths>, <binary-paths>, ...]"

PANTS_SHELL_SETUP_EXECUTABLE_SEARCH_PATHS

default:
[
  "<PATH>"
]

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.


dependency_inference

--[no-]shell-setup-dependency-inference

PANTS_SHELL_SETUP_DEPENDENCY_INFERENCE

default: True

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


tailor

--[no-]shell-setup-tailor

PANTS_SHELL_SETUP_TAILOR

default: True

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


Deprecated options

None