[docs] CLAUDE.md: WSL2 is Ubuntu now; rustup, and Caddy and Pebble without Nix
This commit is contained in:
@@ -30,9 +30,12 @@ scripts/nix-pin.sh # reproducible build check; writes .fabrica/ni
|
||||
nix build .#ianitor
|
||||
nix flake check # includes NixOS VM tests (Linux + KVM)
|
||||
|
||||
On Windows, build and test in WSL2 Debian (ROADMAP §8.3: Pingora's Windows support is best effort; edge, diff and
|
||||
ACME tests are Linux-only). Use a Linux target dir, and put caddy, pebble and pebble-challtestsrv on PATH (`nix profile add nixpkgs#caddy nixpkgs#pebble`):
|
||||
wsl -d Debian -- bash -lc 'cd /mnt/f/Akce/Ianitor && CARGO_TARGET_DIR=$HOME/ianitor-target cargo test --workspace'
|
||||
On Windows, build and test in WSL2 Ubuntu (distro `Ubuntu`, 26.04, root; ROADMAP §8.3: Pingora's Windows support is
|
||||
best effort; edge, diff and ACME tests are Linux-only). Rust from rustup in $HOME (stable; nightly for cargo-fuzz), a
|
||||
Linux target dir, and caddy, pebble and pebble-challtestsrv on PATH: with Nix, `nix profile add nixpkgs#caddy
|
||||
nixpkgs#pebble`; without it (as now), `apt install pebble testssl.sh golang-go` and
|
||||
`go install github.com/caddyserver/caddy/v2/cmd/caddy@v2.11.7` (apt's Caddy 2.6 is too old for the diff suite):
|
||||
wsl -d Ubuntu -- bash -lc 'cd /mnt/f/Akce/Ianitor && PATH=$HOME/.cargo/bin:$HOME/go/bin:$PATH CARGO_TARGET_DIR=$HOME/ianitor-target cargo test --workspace'
|
||||
One-time per clone: git config core.hooksPath .githooks (self-test: bash .githooks/test-pre-commit.sh)
|
||||
|
||||
## Rules
|
||||
|
||||
Reference in New Issue
Block a user