| 1 | # shellcheck shell=bash |
| 2 | # Paths and fixtures come from the derivation environment. |
| 3 | # shellcheck disable=SC2154 |
| 4 | shellcheck "$cliScript" |
| 5 | shellcheck "$bashCompletion" |
| 6 | # The linter cannot read zsh; a bare parse is the cheap check. |
| 7 | zsh -n "$zshCompletion" |
| 8 | valley help > help.txt |
| 9 | grep -q '^usage: valley' help.txt |
| 10 | test -f "$valley/share/bash-completion/completions/valley" |
| 11 | test -f "$valley/share/zsh/site-functions/_valley" |
| 12 | touch "$out" |