Files
Adam Perry @ OpenAI 740c4f269d build: run buildifier from just fmt (#28125)
## Intent

Keep Bazel and Starlark files consistently formatted without requiring
contributors to install or version buildifier themselves.

## Implementation

- Add a SHA-256-pinned, cross-platform DotSlash manifest for buildifier
v8.5.1.
- Run buildifier from the shared `just fmt` and `just fmt-check` driver,
with Windows-safe explicit DotSlash invocation.
- Provision DotSlash in formatting CI and contributor devcontainers, and
document the source-build prerequisite.
- Apply the initial mechanical buildifier formatting baseline.
2026-06-13 21:43:39 -07:00

18 lines
438 B
Python

load("//:defs.bzl", "codex_rust_crate")
exports_files(
["repo_root.marker"],
visibility = ["//visibility:public"],
)
codex_rust_crate(
name = "cargo-bin",
compile_data = ["repo_root.marker"],
crate_name = "codex_utils_cargo_bin",
lib_data_extra = ["repo_root.marker"],
rustc_env = {
"CODEX_REPO_ROOT_MARKER": "$(rlocationpath :repo_root.marker)",
},
test_data_extra = ["repo_root.marker"],
)