mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
9 lines
80 B
Bash
Executable file
9 lines
80 B
Bash
Executable file
#!/bin/sh
|
|
|
|
file=$1
|
|
|
|
go build $file
|
|
|
|
file=${file%%.*}
|
|
|
|
timeout -s KILL 3 ./$file
|