summaryrefslogtreecommitdiff
path: root/script/check
diff options
context:
space:
mode:
Diffstat (limited to 'script/check')
-rwxr-xr-xscript/check13
1 files changed, 7 insertions, 6 deletions
diff --git a/script/check b/script/check
index 8bf4ccd..87b0459 100755
--- a/script/check
+++ b/script/check
@@ -4,18 +4,19 @@ set -o errexit
set -o nounset
set -o xtrace
+export CARGO_BUILD_WARNINGS=deny
+
cargo fmt --all --check
-cargo check --workspace --all-targets --all-features
-cargo build --workspace --all-targets --all-features
+cargo check --workspace --all-targets --all-features --keep-going
+cargo build --workspace --all-targets --all-features --keep-going
cargo test --workspace --all-targets --all-features
cargo clippy --workspace --all-targets --all-features -- --deny warnings
-env RUSTDOCFLAGS="-Dwarnings" \
- cargo doc --all-features --no-deps --document-private-items
+cargo doc --all-features --no-deps --document-private-items --keep-going
cargo audit
( cd examples &&
cargo fmt --all --check &&
- cargo check --workspace --all-targets --all-features &&
- cargo build --workspace --all-targets --all-features &&
+ cargo check --workspace --all-targets --all-features --keep-going &&
+ cargo build --workspace --all-targets --all-features --keep-going &&
cargo clippy --workspace --all-targets --all-features -- --deny warnings &&
cargo audit )
Generated by cgit. See skreutz.com for my tech blog and contact information.