9 lines
301 B
Bash
Executable File
9 lines
301 B
Bash
Executable File
#!/bin/sh
|
|
|
|
manifest="${1:-.}"
|
|
|
|
RUSTFLAGS='-Cinstrument-coverage' cargo test &&
|
|
mkdir -p "$manifest/target/coverage/html" &&
|
|
~/.cargo/bin/grcov . --binary-path "$manifest/target/debug/deps/" -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o "$manifest/target/coverage/html"
|
|
|