piston/docker/executors/go
Brian Seymour 6cc2496cd6 args
2018-10-05 20:26:22 -05:00

9 lines
106 B
Bash
Executable file

#!/bin/sh
file=$1
timeout -s KILL 10 go build $file
file=${file%%.*}
timeout -s KILL 3 ./$file ${@:2}