summaryrefslogtreecommitdiff
path: root/test/run-shellcheck
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-shellcheck')
-rwxr-xr-xtest/run-shellcheck4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run-shellcheck b/test/run-shellcheck
new file mode 100755
index 00000000..cae7b809
--- /dev/null
+++ b/test/run-shellcheck
@@ -0,0 +1,4 @@
+#!/bin/sh -eu
+cd "$(dirname $0)/.."
+exec docker run --network none -tv "$PWD:/mnt:ro" \
+ koalaman/shellcheck -S error "$@"