summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript/check4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/check b/script/check
index 6737278..9913d80 100755
--- a/script/check
+++ b/script/check
@@ -4,9 +4,11 @@ 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
Generated by cgit. See skreutz.com for my tech blog and contact information.