summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck10
1 files changed, 10 insertions, 0 deletions
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