fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
64e3b419b
master
1#RUN: fish=%fish %fish %s 2 3set -l workspace_root( path resolve --( status dirname) /../../) 4set timestamp_file$workspace_root /tests/.last-check-all-files 5set -l find_args 6if test -f $timestamp_file 7set find_args -newer$timestamp_file 8end 9set -l fail_count0 10for filein ( find $workspace_root /{ benchmarks, build_tools, etc, share, tests} -name"*.fish" $find_args ) 11$fish -n$file ;or set fail_count( math $fail_count +1 ) 12end 13 14# Prevent setting timestamp if any errors were encountered 15if test " $fail_count " -eq 0 16touch $timestamp_file 2> /dev/null 17end 18 19# No output is good output