mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
makefile: rename check to lint
This commit is contained in:
committed by
Nicolas Stalder
parent
64ff915b89
commit
a85dfdefd6
@@ -16,8 +16,12 @@ test:
|
||||
|
||||
.PHONY: check
|
||||
check:
|
||||
RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
cargo fmt --check
|
||||
cargo check --all-targets --all-features
|
||||
RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets
|
||||
cargo clippy --all-targets --all-features -- -Dwarnings
|
||||
RUSTDOCFLAGS='-Dwarnings' cargo doc --all-features
|
||||
reuse lint
|
||||
@@ -31,5 +35,5 @@ example:
|
||||
cargo run --example virtual --features virtual
|
||||
|
||||
.PHONY: ci
|
||||
ci: check tarpaulin
|
||||
ci: lint tarpaulin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user