summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-07 07:33:08 +0000
committerLars Wirzenius <liw@liw.fi>2021-11-07 07:33:08 +0000
commit24f4aeebfeffd5375f8115e90e7c72824c7edf89 (patch)
tree45fa73ded222918d696d1b417fcc726456e8f2a9 /check
parent498a88aaf124a355fb59dc0f51284ded0b8583a6 (diff)
parent86cc978aea3edb3c8b1b8674b9d24af0dc0db7cf (diff)
downloadroadmap-24f4aeebfeffd5375f8115e90e7c72824c7edf89.tar.gz
Merge branch 'cleanups' into 'main'
clean up code so it doesn't have warnings with current toolchain See merge request larswirzenius/roadmap!2
Diffstat (limited to 'check')
-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