T: docs: interactive dev-test lives inside devenv shell; module-mode notes
AGENTS.md said the same command works in an interactive shell, which only holds inside devenv shell or direnv (the script is on PATH there). docs/consolidator.md now says the filter cache sits at the repo root and that a failing check raises a catchable error instead of closing the session.
This commit is contained in:
1 parent
b01a409d35
commit
5edbd388d1
2 files changed
+2
-2
No files matched your search
@@ -18,7 +18,7 @@ Canonical guidance for AI coding agents in this repo (no CLAUDE.md; this file is
|
||||
|
||||
Enter the toolchain with `devenv shell` (Rust, pkg-config, libsystemd, nushell, otelcol). Without it you need a Rust toolchain, `pkg-config` and the libsystemd dev files.
|
||||
|
||||
All checks go through one runner, `dev/dev-test.nu`. `devenv shell -- dev-test …` runs the devenv script on PATH, and the same command works in an interactive shell. zsh users add `source <(nu dev/dev-test.nu completions zsh)` to `.zshrc` after `compinit`. An interactive `devenv shell` installs bash completion. `nu dev/dev-test.nu --help` lists the underlying cargo and nix commands.
|
||||
All checks go through one runner, `dev/dev-test.nu`. `devenv shell -- dev-test …` runs the devenv script on PATH, and the same command works inside an interactive `devenv shell`. zsh users add `source <(nu dev/dev-test.nu completions zsh)` to `.zshrc` after `compinit`. An interactive `devenv shell` installs bash completion. `nu dev/dev-test.nu --help` lists the underlying cargo and nix commands.
|
||||
|
||||
```sh
|
||||
devenv shell -- dev-test lint # cargo fmt --check, clippy -D warnings, cargo tree -i openssl (empty)
|
||||
|
||||
Reference in new issue
Block a user