piston/docker/executors/go
2018-10-05 20:43:42 -05:00

7 lines
95 B
Text
Executable file

file=$1
timeout -s KILL 10 go build $file
file=${file%%.*}
timeout -s KILL 3 ./$file ${@:3}