summaryrefslogtreecommitdiff
path: root/tools/checks
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2020-06-17 23:45:48 -0400
committerOwen Jacobson <owen@grimoire.ca>2020-06-17 23:58:31 -0400
commite344f6c6245fe1121976b407a989af86c7453dad (patch)
tree49f0290591c0c48d69607656db3a6f1f10323e7a /tools/checks
parent3ccaa5f22c66874b274506fe784939806fb0f2db (diff)
Extracted checks into a tools directory.
Having the checks duplicated between .git-hooks and .travis.yml was a recipe for them to diverge eventually. This is somewhat tidier, and creates a clear convention for any future tools-like scripts. I didn't do the same to install steps, as they're a lot more sensitive to the specific environment - Travis requires different things from Github, which requires different things from CircleCI, which requires different things from a local environment.
Diffstat (limited to 'tools/checks')
-rwxr-xr-xtools/checks11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/checks b/tools/checks
new file mode 100755
index 0000000..26a20ae
--- /dev/null
+++ b/tools/checks
@@ -0,0 +1,11 @@
+#!/bin/bash -ex
+
+# tools/checks
+#
+# Runs all code checks. If you're automating testing, call this rather than
+# invoking a test command directly; if you're adding a test command, add it here
+# or to one of the tools called from this script.
+
+tools/check-tests
+tools/check-lints
+tools/check-dependencies