mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
## What changed - Add a `schema_bundle` rule that generates stable and experimental app-server schema directories as declared Bazel actions. - Include the pinned `zstd` executable in the bundle so consumers can normalize generated JSON without a separate `bazel run` invocation. - Expose the app-server protocol test binary as the schema generator and add the manual `//bazel/schema:public-schema-bundle` target. GitOrigin-RevId: 0a7ce47258d297dbf20db78626f2843145ee1b49
20 lines
461 B
Python
20 lines
461 B
Python
load("//:defs.bzl", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "app-server-protocol",
|
|
compile_data = glob(["schema/precomputed/**"]),
|
|
crate_name = "codex_app_server_protocol",
|
|
test_data_extra = glob(
|
|
["schema/**"],
|
|
allow_empty = True,
|
|
),
|
|
)
|
|
|
|
alias(
|
|
name = "schema-generator",
|
|
testonly = True,
|
|
actual = ":app-server-protocol-unit-tests-bin",
|
|
tags = ["manual"],
|
|
visibility = ["//bazel/schema:__pkg__"],
|
|
)
|