summaryrefslogtreecommitdiff
path: root/tools/check-lints
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-lints')
-rwxr-xr-xtools/check-lints8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/check-lints b/tools/check-lints
new file mode 100755
index 0000000..1314896
--- /dev/null
+++ b/tools/check-lints
@@ -0,0 +1,8 @@
+#!/bin/bash -ex
+
+# tools/check-lints
+#
+# Checks that the code in this project passes style checks.
+
+cargo fmt -- --check
+cargo clippy -- --deny warnings