fix: build script naming problem on osx

This commit is contained in:
n0vad3v 2020-03-05 21:16:48 +08:00
parent 50ddf19790
commit 2c7b87c1f2
No known key found for this signature in database
GPG Key ID: 8D42A0E699E50639

View File

@ -5,6 +5,9 @@ CGO_ENABLED=0
if [ "${1}" == "windows" ]
then
go build -v -ldflags "-s -w" -o builds/webp-server-${1}-${2}.exe
elif [ "${1}" == "osx" ]
then
go build -v -ldflags "-s -w" -o builds/webp-server-darwin-${2}
else
go build -v -ldflags "-s -w" -o builds/webp-server-${1}-${2}
fi