piston/docker/executors/go

6 lines
145 B
Plaintext
Executable File

cp /*.code interim.go
file="interim.go"
timeout -s KILL 10 go build $file
file=${file%%.*}
timeout -s KILL 3 cat /*.args | xargs -d '\n' ./$file