solana/ci/shellcheck.sh

17 lines
371 B
Bash
Raw Normal View History

2018-05-27 18:01:34 -07:00
#!/bin/bash -e
#
# Reference: https://github.com/koalaman/shellcheck/wiki/Directive
cd "$(dirname "$0")/.."
set -x
2018-07-19 09:35:42 -07:00
find . -name "*.sh" \
-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