mirror of
https://github.com/trussed-dev/trussed-rsa-backend.git
synced 2026-06-20 04:16:22 -07:00
Add tarpaulin make target
This commit is contained in:
@@ -3,3 +3,5 @@
|
||||
|
||||
target
|
||||
Cargo.lock
|
||||
cobertura.xml
|
||||
tarpaulin-report.html
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Copyright (C) Nitrokey GmbH
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
export RUST_LOG ?= info,cargo_tarpaulin=off
|
||||
.PHONY: check
|
||||
check:
|
||||
RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets
|
||||
@@ -16,5 +16,9 @@ lint:
|
||||
test:
|
||||
cargo test --all-features
|
||||
|
||||
.PHONY: tarpaulin
|
||||
tarpaulin:
|
||||
cargo tarpaulin --all-features -o Html -o Xml
|
||||
|
||||
.PHONY: ci
|
||||
ci: check lint test
|
||||
|
||||
Reference in New Issue
Block a user