summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/check.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/check.sh b/tools/check.sh
new file mode 100755
index 0000000..ea72234
--- /dev/null
+++ b/tools/check.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+
+set -euf
+
+
+script="$(realpath "$0")"
+tools="$(dirname "$script")"
+root="$(dirname "$tools")"
+
+
+go fmt "${root}/..."