diff options
| author | Stefan Kreutz <mail@skreutz.com> | 2026-08-07 19:54:55 +0200 |
|---|---|---|
| committer | Stefan Kreutz <mail@skreutz.com> | 2026-08-07 19:54:55 +0200 |
| commit | 60c2560cab8ab6b42f1435ae3f30af99fa41e8e1 (patch) | |
| tree | 73f0ee3ece48d37ee976f161c589d36501b75e72 /script/check | |
| parent | a1ef2791b1d7bd1aa13fe2da6417236e15d0cf72 (diff) | |
| download | parseq-main.tar.gz | |
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-x | script/check | 13 |
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 ) |