diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-05 11:27:25 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-05 11:27:25 +0200 |
commit | 0cdf96eaf0782021a0bade74d742bf70c1569244 (patch) | |
tree | bf3402159c90805ee0816d5a2bc3ef2f1ec84665 | |
parent | 0ae698ba8e78f447186c9390c74af8155505784e (diff) | |
download | obnam-benchmark-0cdf96eaf0782021a0bade74d742bf70c1569244.tar.gz |
test: add ./check script to build and test project
Sponsored-by: author
-rwxr-xr-x | check | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |