mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-12-26 13:24:59 -07:00
26 lines
575 B
Bash
Executable File
26 lines
575 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# check .sh files
|
|
shfmt --language-dialect posix --indent 2 --diff \
|
|
lib/*.sh
|
|
|
|
# check .bash files
|
|
shfmt --language-dialect bash --indent 2 --diff \
|
|
completions/*.bash \
|
|
bin/asdf \
|
|
bin/private/asdf-exec \
|
|
lib/utils.bash \
|
|
lib/commands/*.bash \
|
|
lib/functions/*.bash \
|
|
scripts/*.bash \
|
|
test/test_helpers.bash \
|
|
test/fixtures/dummy_broken_plugin/bin/* \
|
|
test/fixtures/dummy_legacy_plugin/bin/* \
|
|
test/fixtures/dummy_plugin/bin/*
|
|
|
|
# check .bats files
|
|
shfmt --language-dialect bats --indent 2 --diff \
|
|
test/*.bats
|