summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck9
1 files changed, 9 insertions, 0 deletions
diff --git a/check b/check
new file mode 100755
index 0000000..8b31ebb
--- /dev/null
+++ b/check
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+s=0
+
+! git grep FIX''ME; s=$((s | $?))
+golangci-lint run; s=$((s | $?))
+golangci-lint fmt --diff; s=$((s | $?))
+go test ./...; s=$((s | $?))
+
+exit $s