From 7752d73216578d5961751b5d0535088d384b4aa6 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Sat, 25 Jan 2025 10:45:41 +0100 Subject: Move λ-calcul workshop code to subdirectory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lambda-calcul/rust/cover.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 lambda-calcul/rust/cover.sh (limited to 'lambda-calcul/rust/cover.sh') diff --git a/lambda-calcul/rust/cover.sh b/lambda-calcul/rust/cover.sh new file mode 100755 index 0000000..c7befa6 --- /dev/null +++ b/lambda-calcul/rust/cover.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test +rm -fr target/coverage/html +grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/html -- cgit v1.2.3