mirror of
https://github.com/ssh-vault/ssh-vault.git
synced 2025-04-19 07:42:18 +03:00
15 lines
469 B
Makefile
15 lines
469 B
Makefile
test: clippy fmt
|
|
cargo test
|
|
|
|
clippy:
|
|
cargo clippy --all -- -W clippy::all -W clippy::nursery -D warnings
|
|
|
|
fmt:
|
|
cargo fmt --all -- --check
|
|
|
|
coverage:
|
|
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='coverage-%p-%m.profraw' cargo test
|
|
grcov . --binary-path ./target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/html
|
|
firefox target/coverage/html/index.html
|
|
rm -rf *.profraw
|