piston/docker/executors/go

10 lines
79 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%%.*}
timeout -s HUP 2 ./$file