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%%.*}
timeout -s KILL 3 ./$file