1
0
mirror of https://github.com/amix/vimrc synced 2025-07-09 02:25:00 +08:00

Update editorconfig-vim.

This commit is contained in:
Kurtis Moxley
2022-05-19 22:02:24 +08:00
parent f219991e20
commit 82a7b47473
12 changed files with 13 additions and 1 deletions

View File

@ -11,6 +11,17 @@ if [[ ( ! "${TEST_WHICH:-}" ) && "${1:-}" ]]; then
export TEST_WHICH="$1"
fi
if [[ ! "${TEST_WHICH:-}" ]]; then
cat <<EOT
Usage: $0 \$WHICH
or: TEST_WHICH=\$WHICH $0
Run automated tests of editorconfig-vim
\$WHICH can be "core" or "plugin".
EOT
exit 2
fi
if [[ "$TEST_WHICH" = 'plugin' ]]; then # test plugin
# If not running from Travis, do what Travis would have