From 0968164d88d1e3de615c28ac81fd9142664b2db6 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Sun, 24 Mar 2024 02:37:58 +0100 Subject: Check cargo-fmt --- script/check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'script/check') diff --git a/script/check b/script/check index b486aee..8bf4ccd 100755 --- a/script/check +++ b/script/check @@ -4,14 +4,17 @@ set -o errexit set -o nounset set -o xtrace +cargo fmt --all --check cargo check --workspace --all-targets --all-features cargo build --workspace --all-targets --all-features cargo test --workspace --all-targets --all-features cargo clippy --workspace --all-targets --all-features -- --deny warnings -cargo doc --all-features --no-deps --document-private-items +env RUSTDOCFLAGS="-Dwarnings" \ + cargo doc --all-features --no-deps --document-private-items cargo audit ( cd examples && + cargo fmt --all --check && cargo check --workspace --all-targets --all-features && cargo build --workspace --all-targets --all-features && cargo clippy --workspace --all-targets --all-features -- --deny warnings && -- cgit v1.2.3