ludus/test/judgy.fish
2024-06-07 13:42:11 -04:00

10 lines
167 B
Fish
Executable File

#!/opt/homebrew/bin/fish
set FILE $argv[1]
set TESTFILE (string join "" $FILE ".tested")
judge $FILE
if test -e $TESTFILE
cp $TESTFILE $FILE
rm $TESTFILE
end