piston/docker/executors/go

6 lines
155 B
Plaintext
Raw Normal View History

2018-10-06 18:48:10 +02:00
cp /*.code interim.go
file="interim.go"
2018-10-06 03:26:22 +02:00
timeout -s KILL 10 go build $file
2018-09-21 16:58:01 +02:00
file=${file%%.*}
2018-10-08 22:53:03 +02:00
timeout -s KILL 3 bash -c "cat /*.args | xargs -d '\n' ./$file"