solana/ci/shellcheck.sh

13 lines
368 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")/.."
2019-01-08 14:25:44 -08:00
(
set -x
git ls-files -- '*.sh' ':(exclude)ci/semver_bash' \
| xargs ci/docker-run.sh koalaman/shellcheck@sha256:fe24ab9a9b6b62d3adb162f4a80e006b6a63cae8c6ffafbae45772bab85e7294 --color=always --external-sources --shell=bash
2019-01-08 14:25:44 -08:00
)
echo --- ok