summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2024-03-24 02:37:58 +0100
committerStefan Kreutz <mail@skreutz.com>2024-03-24 02:37:58 +0100
commit0968164d88d1e3de615c28ac81fd9142664b2db6 (patch)
tree0314fd7b57118e9a451f6f24dbf4843c4f78fba6
parentcb3d0bf8d4c0716a255ca6ee541af073faf14e79 (diff)
downloadparseq-0968164d88d1e3de615c28ac81fd9142664b2db6.tar
Check cargo-fmt
-rwxr-xr-xscript/check5
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 &&
Generated by cgit. See skreutz.com for my tech blog and contact information.