default: @just --list build: cargo build --locked compile: cargo check --locked --all-targets check: nix flake check -L test: cargo nextest run --locked coverage *args: cargo llvm-cov nextest --locked {{args}} coverage-vm: nix build .#vm-coverage -o target/vm-coverage cargo llvm-cov nextest --locked --lcov --output-path target/local.lcov python3 nix/merge_coverage.py target/local.lcov target/vm-coverage/vm.lcov fmt: cargo fmt --all clippy: cargo clippy --locked --all-targets -- -D warnings deny: cargo deny --locked check lint: clippy deny cargo fmt --all --check find . -name '*.nix' -not -path './target/*' -not -path './.direnv/*' -exec nixfmt --check {} + statix check . deadnix --fail . ruff check nix ruff format --check nix fmt-all: fmt find . -name '*.nix' -not -path './target/*' -not -path './.direnv/*' -exec nixfmt {} + ruff format nix run *args: cargo run --locked -- {{args}}