oh-my-fish/tests/test_runner.fish
2015-09-27 14:59:30 +02:00

17 lines
279 B
Fish
Executable File

#!/usr/bin/env fish
# TODO: This is only a basic draft.
set -l return_code 0
set commands "omf help" "omf query PATH" "omf query fish_function_path" "omf install apt"
for cmd in $commands
echo \$ $cmd
if not eval $cmd
set return_code 1
end;
end;
exit $return_code