summaryrefslogtreecommitdiff
path: root/check
blob: c928b068ae49ee4350b589d72e40c5d05721401f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -euo pipefail

cargo clippy -q --all-targets -- -D clippy::all
cargo build --all-targets -q
chronic cargo test -q
subplot docgen obnam-benchmark.md -o obnam-benchmark.html
subplot docgen obnam-benchmark.md -o obnam-benchmark.pdf
subplot codegen obnam-benchmark.md -o test.py
python3 test.py --log test.log "$@"
cargo fmt -- --check
echo A-OK