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.
32 lines
721 B
JSON
32 lines
721 B
JSON
{
|
|
"name": "Codex",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": "..",
|
|
"platform": "linux/arm64"
|
|
},
|
|
|
|
/* Force VS Code to run the container as arm64 in
|
|
case your host is x86 (or vice-versa). */
|
|
"runArgs": ["--platform=linux/arm64"],
|
|
|
|
"features": {
|
|
"ghcr.io/facebook/devcontainers/features/dotslash:latest": {}
|
|
},
|
|
|
|
"containerEnv": {
|
|
"RUST_BACKTRACE": "1",
|
|
"CARGO_TARGET_DIR": "${containerWorkspaceFolder}/codex-rs/target-arm64"
|
|
},
|
|
|
|
"remoteUser": "ubuntu",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash"
|
|
},
|
|
"extensions": ["rust-lang.rust-analyzer", "tamasfe.even-better-toml"]
|
|
}
|
|
}
|
|
}
|