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

set -o errexit
set -o nounset
set -o xtrace

cargo fmt --all --check
cargo clippy --workspace --all-targets --all-features -- --deny warnings
cargo build --workspace --all-targets --all-features
cargo test --workspace --all-targets --all-features
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.