shell-setup
Options for Pants's Shell support.
Backend: pants.backend.shell
Config section: [shell-setup]
Basic options
None
Advanced options
dependency_inference
--[no-]shell-setup-dependency-inferencePANTS_SHELL_SETUP_DEPENDENCY_INFERENCEpants.toml
[shell-setup]
dependency_inference = <bool>
default:
TrueInfer Shell dependencies on other Shell files by analyzing source statements.
executable_search_paths
--shell-setup-executable-search-paths="[<binary-paths>, <binary-paths>, ...]"PANTS_SHELL_SETUP_EXECUTABLE_SEARCH_PATHSpants.toml
[shell-setup]
executable_search_paths = [
<binary-paths>,
<binary-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.
shell_setup_executable_search_paths on local_environment, docker_environment, or remote_environmenttargets.tailor_shunit2_tests
--[no-]shell-setup-tailor-shunit2-testsPANTS_SHELL_SETUP_TAILOR_SHUNIT2_TESTSpants.toml
[shell-setup]
tailor_shunit2_tests = <bool>
default:
TrueIf true, add shunit2_tests targets with the tailor goal.
tailor_sources
--[no-]shell-setup-tailor-sourcesPANTS_SHELL_SETUP_TAILOR_SOURCESpants.toml
[shell-setup]
tailor_sources = <bool>
default:
TrueIf true, add shell_sources targets with the tailor goal.
Deprecated options
tailor
--[no-]shell-setup-tailorPANTS_SHELL_SETUP_TAILORpants.toml
[shell-setup]
tailor = <bool>
default:
Deprecated, will be removed in version: 2.25.0.dev0.
Use `tailor_sources` and/or `tailor_shunit2_tests` instead. For backwards compatibility, if this option is `False`, it will override the other options.
TrueDeprecated, will be removed in version: 2.25.0.dev0.
Use `tailor_sources` and/or `tailor_shunit2_tests` instead. For backwards compatibility, if this option is `False`, it will override the other options.
If true, add shell_sources targets with the tailor goal.
Related subsystems
None