2018-11-11 08:19:04 -08:00
|
|
|
#!/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
|
2023-04-25 08:49:58 -07:00
|
|
|
git ls-files -- '.buildkite/hooks' '*.sh' ':(exclude)ci/semver_bash' \
|
2022-08-31 23:48:20 -07:00
|
|
|
| xargs ci/docker-run.sh koalaman/shellcheck:v0.8.0 --color=always --external-sources --shell=bash
|
2019-01-08 14:25:44 -08:00
|
|
|
)
|
2018-12-18 18:33:48 -08:00
|
|
|
echo --- ok
|