summaryrefslogtreecommitdiff
path: root/script/check
blob: edf251ea88eadd71b5fd4c57d7157856747134a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

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
env RUSTDOCFLAGS="-Dwarnings" \
  cargo doc --all-features --no-deps --document-private-items
cargo audit
Generated by cgit. See skreutz.com for my tech blog and contact information.