2021-05-26 09:19:54 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-07-12 08:07:59 -07:00
|
|
|
set -euo pipefail
|
|
|
|
|
2022-12-23 02:40:11 -07:00
|
|
|
# check .sh files
|
|
|
|
# TODO(jthegedus): unlock this check later
|
|
|
|
# TODO shellcheck --shell sh --external-sources \
|
|
|
|
# TODO asdf.sh \
|
|
|
|
# TODO lib/*.sh
|
|
|
|
|
|
|
|
# check .bash files
|
|
|
|
shellcheck --shell bash --external-sources \
|
2021-05-26 09:19:54 -07:00
|
|
|
completions/*.bash \
|
|
|
|
bin/asdf \
|
|
|
|
bin/private/asdf-exec \
|
|
|
|
lib/utils.bash \
|
|
|
|
lib/commands/*.bash \
|
2022-12-23 02:40:11 -07:00
|
|
|
lib/functions/*.bash \
|
2021-05-26 09:19:54 -07:00
|
|
|
scripts/*.bash \
|
|
|
|
test/test_helpers.bash \
|
2022-12-23 02:40:11 -07:00
|
|
|
test/fixtures/dummy_broken_plugin/bin/* \
|
|
|
|
test/fixtures/dummy_legacy_plugin/bin/* \
|
2021-05-26 09:19:54 -07:00
|
|
|
test/fixtures/dummy_plugin/bin/*
|
2022-12-23 02:40:11 -07:00
|
|
|
|
2023-01-25 06:37:21 -07:00
|
|
|
shellcheck --shell bats --external-source \
|
2023-01-27 05:17:41 -07:00
|
|
|
test/*.bats
|