Skip to content

Commit

Permalink
ci/shellcheck.sh now only audits files that git knows about (solana-l…
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines authored Nov 8, 2019
1 parent cd5ec8c commit f8e64aa
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ci/shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ set -e
cd "$(dirname "$0")/.."
(
set -x
find . -name "*.sh" \
-not -regex ".*/ci/semver_bash/.*" \
-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
git ls-files -- '*.sh' ':(exclude)ci/semver_bash' \
| xargs ci/docker-run.sh koalaman/shellcheck --color=always --external-sources --shell=bash
)
echo --- ok

0 comments on commit f8e64aa

Please sign in to comment.