mirror of
https://github.com/openai/codex.git
synced 2026-04-30 17:36:40 +00:00
14 lines
529 B
Bash
Executable File
14 lines
529 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
cd "${repo_root}"
|
|
|
|
# Bazel wildcard builds skip manual targets, which misses the internal
|
|
# `*-unit-tests-bin` rust_test targets generated by `codex_rust_crate()`.
|
|
# Add only those manual rust_test targets explicitly so inline `#[cfg(test)]`
|
|
# call sites are linted without pulling in unrelated manual release targets.
|
|
printf '%s\n' "//codex-rs/..."
|
|
bazel query 'kind("rust_test rule", attr(tags, "manual", //codex-rs/...))'
|