diff options
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index cf127c2aee..1149a805ae 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,9 +1,10 @@ +#!/usr/bin/env bash outPath=./output rm -rf $outPath mkdir $outPath -go build ../gogs.go +go build ../main.go -o gitea PLATFORM=`uname | cut -d _ -f 1` if [ $PLATFORM = "MINGW32" ] || [ $PLATFORM = "MINGW64" ] || [ $PLATFORM = "CYGWIN" ]; then GOGS_EXE=gogs.exe |