piston/docker/executors/go

10 lines
80 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
go build $file
file=${file%%.*}
2018-09-22 05:05:29 +02:00
timeout -s KILL 2 ./$file