https://pantsbuild.org/ logo
#general
Title
# general
f

freezing-lamp-12123

07/06/2022, 8:58 PM
👋 for shell scripts in the context of reusing build tooling, does pants offer anything out of the box for shell/coreutils isolation? so that shell scripts gets executed with gnu equivalents on both mac os and linux for instance?
e

enough-analyst-54434

07/06/2022, 9:16 PM
A test would be needed to confirm provenance.
A poor-mans method today would be to configure this option in
pants.toml
if you can come up with an appropriate search path that ensures the results you want: https://www.pantsbuild.org/docs/reference-shell-setup#section-executable-search-paths
f

freezing-lamp-12123

07/07/2022, 4:34 AM
thanks, that’s a good start! 😃
5 Views