summaryrefslogtreecommitdiff
path: root/script/check
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2026-08-07 19:57:01 +0200
committerStefan Kreutz <mail@skreutz.com>2026-08-07 19:57:01 +0200
commite8420a6f43a40f3dd49641bee86b92795585bf2a (patch)
tree89bab567a984fed180eed6c8932f1a6c4a3fadb5 /script/check
parent62293ccb11af519d8c1786f0a46ff8f8dab86f86 (diff)
downloadbrck-e8420a6f43a40f3dd49641bee86b92795585bf2a.tar.gz
Update cargo invocationHEADmain
See <https://blog.rust-lang.org/2026/07/09/Rust-1.97.0/#cargo-support-for-denying-warnings>.
Diffstat (limited to 'script/check')
-rwxr-xr-xscript/check10
1 files changed, 5 insertions, 5 deletions
diff --git a/script/check b/script/check
index edf251e..16c62ff 100755
--- a/script/check
+++ b/script/check
@@ -4,12 +4,12 @@ set -o errexit
set -o nounset
set -o xtrace
-cargo fmt --all --check
+export CARGO_BUILD_WARNINGS=deny
-cargo check --workspace --all-targets --all-features
-cargo build --workspace --all-targets --all-features
+cargo fmt --all --check
+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
Generated by cgit. See skreutz.com for my tech blog and contact information.