From c1fa48e9bd617d70e823efef5d6dcea41b1d2087 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Sun, 24 Mar 2024 15:04:09 +0100 Subject: Add initial implementation --- script/check | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 script/check (limited to 'script') 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 -- cgit v1.2.3