From 86cc978aea3edb3c8b1b8674b9d24af0dc0db7cf Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 7 Nov 2021 09:29:25 +0200 Subject: test: add script ./check to run clippy and tests Sponsored-by: author --- check | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 check diff --git a/check b/check new file mode 100755 index 0000000..e5d1646 --- /dev/null +++ b/check @@ -0,0 +1,7 @@ +#!/bin/bash + +set -euo pipefail + +cargo clippy -q -- --deny=clippy::all +cargo build -q --all-targets +cargo test -q -- cgit v1.2.1