mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
fix: build script naming problem on osx
This commit is contained in:
parent
50ddf19790
commit
2c7b87c1f2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user