summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/test.bash b/test.bash
index 2b78d17..bf3b78d 100755
--- a/test.bash
+++ b/test.bash
@@ -67,6 +67,12 @@ else
go vet ./...
fi
+if command -v staticcheck > /dev/null ; then
+ staticcheck ./...
+else
+ echo "staticcheck not installed - skipping"
+fi
+
if command -v shellcheck > /dev/null ; then
# SC2002 = useless cat. Does no harm, disable the check.
shellcheck -x -e SC2002 ./*.bash