Skip to content

sh_binary: require dependencies' run-time dependencies#9

Merged
chrisnovakovic merged 1 commit intoplease-build:masterfrom
chrisnovakovic:sh_binary-runtime-deps-from-deps
Dec 9, 2025
Merged

sh_binary: require dependencies' run-time dependencies#9
chrisnovakovic merged 1 commit intoplease-build:masterfrom
chrisnovakovic:sh_binary-runtime-deps-from-deps

Conversation

@chrisnovakovic
Copy link
Contributor

sh_binary outputs a zip file with a short shell preamble that extracts the zip file's contents into a temporary directory before executing the main script. It doesn't collect the run-time dependencies of its own dependencies into the zip file it outputs, so those run-time dependencies must be built (and, if remote execution is enabled, uploaded to the remote worker) before the target is executed. Mark the dependencies' run-time dependencies as prerequisites for executing sh_binary's output.

`sh_binary` outputs a zip file with a short shell preamble that extracts
the zip file's contents into a temporary directory before executing the
main script. It doesn't collect the run-time dependencies of its own
dependencies into the zip file it outputs, so those run-time
dependencies must be built (and, if remote execution is enabled,
uploaded to the remote worker) before the target is executed. Mark the
dependencies' run-time dependencies as prerequisites for executing
`sh_binary`'s output.
@chrisnovakovic chrisnovakovic merged commit 169c0dc into please-build:master Dec 9, 2025
2 checks passed
@chrisnovakovic chrisnovakovic deleted the sh_binary-runtime-deps-from-deps branch December 9, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants