fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
396802542
master
1#RUN: %fish %s 2#REQUIRES: command -v vermin 3 4set -l webconfig( status dirname) /../../share/tools/web_config/webconfig.py 5set -l create_manpage( status dirname) /../../share/tools/create_manpage_completions.py 6set -l min_version3.5 7 8# use vermin to detect minimum Python version violations 9# features enabled: 10# - union-types: catch `str | None` syntax (3.10+) 11# - fstring-self-doc: catch f'{var=}' syntax (3.8+) 12set -l output( vermin \ 13 --no-tips\ 14 --violations\ 15 --feature union-types\ 16 --feature fstring-self-doc\ 17 --target=$min_version -\ 18$webconfig \ 19$create_manpage \ 202>&1 | string collect) 21set -l exit_code$pipestatus [ 1 ] 22 23echo $exit_code 24# CHECK: 0 25 26if test $exit_code -ne 0 27echo $output >&2 28end