fixed the multi-line note and some utf-8 stuff
This commit is contained in:
13
scripts/quality-gate.sh
Executable file
13
scripts/quality-gate.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Formatting has no warning level: --check makes any difference a hard failure.
|
||||
cargo fmt --all -- --check
|
||||
|
||||
# Keep the explicit flag even though Cargo.toml denies Rust warnings so direct
|
||||
# and automated Clippy runs have the same, visible contract.
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
cargo test --all-targets --all-features
|
||||
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
|
||||
cargo build --release --all-targets --all-features
|
||||
Reference in New Issue
Block a user