Skip to content

kazuk/cargo-make-coverage-grcov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cargo-make-coverage-grcov

'cargo-make' makefile for grcov coverage.

Install

add llvm-tools-preview rust component.

rustup component add llvm-tools-preview

get the file.

wget https://raw.githubusercontent.com/kazuk/cargo-make-coverage-grcov/main/coverage_grcov.makefile.toml

add extend for your top of Makefile.toml as bellow.

extend= [
  { path = "coverage_grcov.makefile.toml" }
]

[tasks.coverage]
alias="coverage_grcov"

Usage

cargo make coverage

coverage result placed on target/lcov.info

Configuration Options

Turn off auto install grcov

Set SKIP_INSTALL_GRCOV environment variable. like a bellow.

[tasks.coverage]
alias="coverage_grcov"

  [tasks.coverage.env]
  SKIP_INSTALL_GRCOV = 1

About

'cargo-make' makefile for grcov coverage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published