summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-07 09:29:25 +0200
committerLars Wirzenius <liw@liw.fi>2021-11-07 09:29:25 +0200
commit86cc978aea3edb3c8b1b8674b9d24af0dc0db7cf (patch)
tree45fa73ded222918d696d1b417fcc726456e8f2a9
parent3efdb0d59897b9ef6f24bdfea5d2781912f33343 (diff)
downloadroadmap-86cc978aea3edb3c8b1b8674b9d24af0dc0db7cf.tar.gz
test: add script ./check to run clippy and tests
Sponsored-by: author
-rwxr-xr-xcheck7
1 files changed, 7 insertions, 0 deletions
diff --git a/check b/check
new file mode 100755
index 0000000..e5d1646
--- /dev/null
+++ b/check
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -euo pipefail
+
+cargo clippy -q -- --deny=clippy::all
+cargo build -q --all-targets
+cargo test -q