piston/docker/executors/go

10 lines
106 B
Plaintext
Raw Normal View History

2018-09-21 04:36:21 +02:00
#!/bin/sh
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:26:22 +02:00
timeout -s KILL 3 ./$file ${@:2}