t2-stat-parser/app/t2-stats/start.sh
2020-03-07 11:01:21 -05:00

16 lines
201 B
Bash
Executable file

#!/bin/sh
echo "starting..";
echo "Checking if build exists.."
if [ -f /app/main ]
then
echo "Build found!"
/app/main
else
echo "No build found, running from source"
go run *.go
fi