* remove unnecessary files * unify the hooks's header * don't use set -e in post-checkout * shellcheck.sh include .buildkite/hooks * xxx: make ci unhappy * Revert "xxx: make ci unhappy" This reverts commit a0fdfb40db8aa226a2669e474a06fb0f45f8c5c4.
13 lines
322 B
Bash
Executable File
13 lines
322 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Reference: https://github.com/koalaman/shellcheck/wiki/Directive
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
(
|
|
set -x
|
|
git ls-files -- '.buildkite/hooks' '*.sh' ':(exclude)ci/semver_bash' \
|
|
| xargs ci/docker-run.sh koalaman/shellcheck:v0.8.0 --color=always --external-sources --shell=bash
|
|
)
|
|
echo --- ok
|