piston/docker/executors/go

8 lines
95 B
Plaintext
Raw Normal View History

2018-09-21 16:58:01 +02:00
file=$1
2018-10-06 03:26:22 +02:00
timeout -s KILL 10 go build $file
2018-09-21 16:58:01 +02:00
file=${file%%.*}
2018-10-06 03:43:42 +02:00
timeout -s KILL 3 ./$file ${@:3}