summaryrefslogtreecommitdiff
path: root/tools/check-lints
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2020-06-18 01:25:27 -0400
committerGitHub <noreply@github.com>2020-06-18 01:25:27 -0400
commitce432438c8be147135f6c56bdd3229834bff2aa6 (patch)
tree49f0290591c0c48d69607656db3a6f1f10323e7a /tools/check-lints
parent3ccaa5f22c66874b274506fe784939806fb0f2db (diff)
parente344f6c6245fe1121976b407a989af86c7453dad (diff)
Merge pull request #10 from ojacobson/checks-to-tools
Extracted checks into a tools directory.
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