diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/check | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/script/check b/script/check new file mode 100755 index 0000000..edf251e --- /dev/null +++ b/script/check @@ -0,0 +1,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 |