piston/docker/executors/go

10 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}