summaryrefslogtreecommitdiff
path: root/check
blob: cc8ef6c8ab3b39e0ef51fe81ab8ea66fd36ebdb7 (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
chronic python3 test.py --log test.log "$@"
cargo fmt -- --check
echo A-OK