every.channel: sanitized baseline

This commit is contained in:
every.channel 2026-02-15 16:17:27 -05:00
commit 897e556bea
No known key found for this signature in database
258 changed files with 74298 additions and 0 deletions

48
justfile Normal file
View file

@ -0,0 +1,48 @@
set shell := ["bash", "-eu", "-o", "pipefail", "-c"]
default:
@just --list
test-core:
cargo test -p ec-core -p ec-crypto -p ec-moq -p ec-iroh -p ec-linux-iptv
test-workspace:
cargo test --workspace
cov-core:
mkdir -p tmp/coverage
cargo llvm-cov -p ec-core -p ec-crypto -p ec-moq -p ec-iroh -p ec-linux-iptv \
--ignore-filename-regex 'third_party|target' \
--lcov --output-path tmp/coverage/core.lcov
cov-core-html:
mkdir -p tmp/coverage/html
cargo llvm-cov -p ec-core -p ec-crypto -p ec-moq -p ec-iroh -p ec-linux-iptv \
--ignore-filename-regex 'third_party|target' \
--html --output-dir tmp/coverage/html
cov-workspace:
mkdir -p tmp/coverage
cargo llvm-cov --workspace \
--ignore-filename-regex 'third_party|target|tmp' \
--lcov --output-path tmp/coverage/workspace.lcov
./scripts/coverage-summary.sh tmp/coverage/workspace.lcov > tmp/coverage/workspace.summary.txt
cov-workspace-html:
mkdir -p tmp/coverage/workspace-html
cargo llvm-cov --workspace \
--ignore-filename-regex 'third_party|target|tmp' \
--html --output-dir tmp/coverage/workspace-html
cov-workspace-nix:
mkdir -p tmp/coverage
nix develop --accept-flake-config -c cargo llvm-cov --workspace \
--ignore-filename-regex 'third_party|target|tmp' \
--lcov --output-path tmp/coverage/workspace.lcov
./scripts/coverage-summary.sh tmp/coverage/workspace.lcov > tmp/coverage/workspace.summary.txt
cov-workspace-html-nix:
mkdir -p tmp/coverage/workspace-html
nix develop --accept-flake-config -c cargo llvm-cov --workspace \
--ignore-filename-regex 'third_party|target|tmp' \
--html --output-dir tmp/coverage/workspace-html