piston/docker/executors/csharp

6 lines
104 B
Bash
Executable File

#!/bin/sh
mv /*.code .
mcs $(echo $1 | sed 's/\///') -out:tmp/binary
timeout -s KILL 3 mono tmp/binary