fix(ariadne): keep Clew test registration in Bazel

This commit is contained in:
2026-09-11 21:25:40 -04:00
parent 0437ad5200
commit 169ba41a01
2 changed files with 2 additions and 4 deletions

View File

@@ -96,6 +96,8 @@
- `rules_rust` `rust_test` targets cannot set both `crate` and `srcs`. - `rules_rust` `rust_test` targets cannot set both `crate` and `srcs`.
Use one input style per test target. Use one input style per test target.
- Rust tests in this monorepo live in separate `*_test.rs` files, not inline `#[cfg(test)]` modules. - Rust tests in this monorepo live in separate `*_test.rs` files, not inline `#[cfg(test)]` modules.
- Ariadne Rust tests are declared in Bazel `BUILD` files; do not add `[[test]]` entries to
`src/ariadne/Cargo.toml` unless explicitly requested.
- In this monorepo, "dotfiles" refers to the dotfiles/NixOS configuration under `src/dotfiles/` and `configs/nixos/`. - In this monorepo, "dotfiles" refers to the dotfiles/NixOS configuration under `src/dotfiles/` and `configs/nixos/`.
- The flake does not currently define `formatter.x86_64-linux`. - The flake does not currently define `formatter.x86_64-linux`.
Do not use `nix fmt` as a validation command until a formatter is added. Do not use `nix fmt` as a validation command until a formatter is added.

View File

@@ -10,10 +10,6 @@ path = "lib.rs"
name = "ariadne" name = "ariadne"
path = "main.rs" path = "main.rs"
[[test]]
name = "clew_test"
path = "clew_test.rs"
[dependencies] [dependencies]
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }