breezy-electrician-41537
05/08/2024, 4:53 PMroot
|-- projA
|-----src/....
|-----scripts/run.sh
I would like pex_binary
to run scripts/run.sh
as the entry point. I can't seem to figure out how to do that. I tried with setting the script
field to ./src/run.sh
, but during pants package
, I get this error: Could not find script 'scripts/run.sh' in any distribution within PEX
. Do I need to enable the shell backend and include the file via shell_sources
? Or is there some other way I'm missing?broad-processor-92400
05/08/2024, 11:24 PMpex
CLI directly, then we can work out how to translate that to Pants. https://docs.pex-tool.orgbreezy-electrician-41537
05/08/2024, 11:43 PM