solana/ci/shellcheck.sh

12 lines
319 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
find . -name "*.sh" -not -regex ".*/.cargo/.*" -not -regex ".*/node_modules/.*" -print0 \
2018-05-27 18:01:34 -07:00
| xargs -0 \
ci/docker-run.sh koalaman/shellcheck --color=always --external-sources --shell=bash
2018-05-27 18:01:34 -07:00
exit 0