piston/docker/executors/go

8 lines
95 B
Plaintext
Executable File

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