Browse Source

Fixed build script

pull/2423/head
ExMex 9 years ago
parent
commit
1a44fd6bf6
  1. 2
      scripts/build.sh

2
scripts/build.sh

@ -3,7 +3,7 @@ outPath=./output
rm -rf $outPath
mkdir $outPath
go build ../gogs.go -tags "sqlite tidb miniwinsvc cert"
go build -tags "sqlite miniwinsvc cert" ../gogs.go
PLATFORM=`uname | cut -d _ -f 1`
if [ $PLATFORM = "MINGW32" ] || [ $PLATFORM = "MINGW64" ] || [ $PLATFORM = "CYGWIN" ]; then
GOGS_EXE=gogs.exe

Loading…
Cancel
Save