mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
740c4f269d
## 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.
18 lines
438 B
Python
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"],
|
|
)
|