mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## What changed - Include CLI snapshot files in Bazel test runfiles. - Restrict the Windows sandbox binary test target to Windows. - Label boolean and optional arguments in the affected CLI tests. GitOrigin-RevId: c248396c51d881c38856739d7d9b653dcde1823e
23 lines
573 B
Python
23 lines
573 B
Python
load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate")
|
|
load("//bazel/platforms:release_binaries.bzl", "multiplatform_binaries")
|
|
load("//bazel/rules:e2e_benchmark.bzl", "codex_e2e_benchmark")
|
|
|
|
codex_rust_crate(
|
|
name = "cli",
|
|
crate_name = "codex_cli",
|
|
extra_binaries = [
|
|
"//codex-rs/bwrap:bwrap",
|
|
],
|
|
rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS,
|
|
test_data_extra = glob(["src/**/snapshots/**"]),
|
|
)
|
|
|
|
multiplatform_binaries(
|
|
name = "codex",
|
|
)
|
|
|
|
codex_e2e_benchmark(
|
|
name = "codex-help",
|
|
binaries = [":codex"],
|
|
)
|