mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 12:07:49 +02:00
9 lines
106 B
Bash
Executable file
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}
|