24 lines
507 B
Makefile
24 lines
507 B
Makefile
all: check embedded test fmt clippy docs
|
|
|
|
check:
|
|
cargo check
|
|
cargo check -p satrs-example --no-default-features
|
|
|
|
test:
|
|
cargo nextest run --all-features
|
|
cargo test --doc --all-features
|
|
|
|
embedded:
|
|
cargo check -p satrs --target=thumbv7em-none-eabihf --no-default-features
|
|
|
|
fmt:
|
|
cargo fmt --all -- --check
|
|
|
|
clippy:
|
|
cargo clippy -- -D warnings
|
|
|
|
docs-satrs:
|
|
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc -p satrs --all-features
|
|
|
|
docs: docs-satrs
|