summaryrefslogtreecommitdiff
path: root/script/check
blob: 8bf4ccdf572cc3bde96bda7133fef692295b6444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /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

( 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 &&
  cargo audit )
Generated by cgit. See skreutz.com for my tech blog and contact information.