test(shellcheck): include the new completion file in tests

pull/21/head
Kevin Zhuang 4 years ago
parent b22d03228d
commit 8be468314c

@ -1,3 +1,5 @@
# shellcheck disable=SC2207
_dotbare_completion()
{
local IFS=$'\n' subcommands curr prev options verbose_options suggestions

@ -22,7 +22,9 @@ done < <(
shellcheck -e SC1090 "${scripts[@]}"
shellcheck -e SC1090 --shell=bash "dotbare.plugin.bash"
shellcheck --shell=bash "pkg/completion/bash/dotbare"
# \shellcheck does not have zsh support yet, hence using bash for now
shellcheck -e SC2034 --shell=bash "dotbare.plugin.zsh"
shellcheck -e SC2034 --shell=bash "pkg/completion/zsh/_dotbare"
exit $?

Loading…
Cancel
Save