From 0cdf96eaf0782021a0bade74d742bf70c1569244 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 5 Dec 2021 11:27:25 +0200 Subject: test: add ./check script to build and test project Sponsored-by: author --- check | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 check diff --git a/check b/check new file mode 100755 index 0000000..8673b4d --- /dev/null +++ b/check @@ -0,0 +1,10 @@ +#!/bin/bash + +set -euo pipefail + +cargo clippy -q --all-targets -- -D clippy::all +subplot docgen obnam-benchmark.md -o obnam-benchmark.html +subplot docgen obnam-benchmark.md -o obnam-benchmark.pdf +cargo build --all-targets -q +chronic cargo test -q +cargo fmt -- --check -- cgit v1.2.1