piston/docker/executors/csharp

6 lines
104 B
Bash
Executable File

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