diff options
-rwxr-xr-x | script/check | 5 |
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 && |