You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oh-my-fish/script/run-tests.fish

14 lines
271 B
Fish

#!/usr/bin/env fish
# When running on CI, run tests from the correct branch
if set -q TRAVIS_BRANCH
command git checkout $TRAVIS_BRANCH
end
set -l result 0
for test in (find * -type f -print | grep "spec.fish")
fish $test $argv
or set result 1
end
exit $result