From d0a2d469233eea3045423c42b7cb7bd95e88b424 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 19 Jul 2018 09:35:42 -0700 Subject: [PATCH] Don't shellcheck in target/ --- ci/shellcheck.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/shellcheck.sh b/ci/shellcheck.sh index 808e1724c..d8107b629 100755 --- a/ci/shellcheck.sh +++ b/ci/shellcheck.sh @@ -5,7 +5,12 @@ cd "$(dirname "$0")/.." set -x -find . -name "*.sh" -not -regex ".*/.cargo/.*" -not -regex ".*/node_modules/.*" -print0 \ +find . -name "*.sh" \ + -not -regex ".*/.cargo/.*" \ + -not -regex ".*/node_modules/.*" \ + -not -regex ".*/target/.*" \ + -print0 \ | xargs -0 \ ci/docker-run.sh koalaman/shellcheck --color=always --external-sources --shell=bash + exit 0