chore: make build process a single script to run (#757)

This introduces `./codex-cli/scripts/stage_release.sh`, which is a shell
script that stages a release for the Node.js module in a temp directory.
It updates the release to include these native binaries:

```
bin/codex-linux-sandbox-arm64
bin/codex-linux-sandbox-x64
```

though this PR does not update Codex CLI to use them yet.

When doing local development, run
`./codex-cli/scripts/install_native_deps.sh` to install these in your
own `bin/` folder.

This PR also updates `README.md` to document the new workflow.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/757).
* #763
* __->__ #757
This commit is contained in:
Michael Bolin
2025-05-01 08:36:07 -07:00
committed by GitHub
parent 463a230991
commit 3f5975ad5a
6 changed files with 120 additions and 15 deletions

3
codex-cli/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
# Added by ./scripts/install_native_deps.sh
/bin/codex-linux-sandbox-arm64
/bin/codex-linux-sandbox-x64