mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Add convinience make targets
This commit is contained in:
@@ -1,2 +1,27 @@
|
||||
.NOTPARALLEL:
|
||||
|
||||
export RUST_LOG ?= info,cargo_tarpaulin=off
|
||||
|
||||
.PHONY: build-cortex-m4
|
||||
build-cortex-m4:
|
||||
cargo build --target thumbv7em-none-eabi
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
cargo test --features virtual
|
||||
|
||||
.PHONY: check
|
||||
check:
|
||||
cargo fmt --check
|
||||
cargo check --all-targets --all-features
|
||||
cargo check --target thumbv7em-none-eabi
|
||||
cargo clippy -- -Dwarnings
|
||||
RUSTDOCFLAGS='-Dwarnings' cargo doc --all-features
|
||||
|
||||
.PHONY: tarpaulin
|
||||
tarpaulin:
|
||||
cargo tarpaulin --features virtual -o Html -o Xml
|
||||
|
||||
.PHONY: example
|
||||
example:
|
||||
cargo run --example virtual --features virtual
|
||||
|
||||
Reference in New Issue
Block a user