solana-with-rpc-optimizations/ci/shellcheck.sh

19 lines
424 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-05-27 18:01:34 -07:00
#
# Reference: https://github.com/koalaman/shellcheck/wiki/Directive
2018-11-11 09:25:59 -08:00
set -e
2018-05-27 18:01:34 -07:00
cd "$(dirname "$0")/.."
set -x
2018-07-19 09:35:42 -07:00
find . -name "*.sh" \
-not -regex ".*/ci/semver_bash/.*" \
2018-07-19 09:35:42 -07:00
-not -regex ".*/.cargo/.*" \
-not -regex ".*/node_modules/.*" \
-not -regex ".*/target/.*" \
-print0 \
2018-05-27 18:01:34 -07:00
| xargs -0 \
ci/docker-run.sh koalaman/shellcheck --color=always --external-sources --shell=bash
2018-07-19 09:35:42 -07:00
2018-05-27 18:01:34 -07:00
exit 0