summaryrefslogtreecommitdiff
path: root/script/check
diff options
context:
space:
mode:
Diffstat (limited to 'script/check')
-rwxr-xr-xscript/check5
1 files changed, 4 insertions, 1 deletions
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 &&
Generated by cgit. See skreutz.com for my tech blog and contact information.