Skip to content

Commit

Permalink
fix: build script naming problem on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
n0vad3v committed Mar 5, 2020
1 parent 50ddf19 commit 2c7b87c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c7b87c

Please sign in to comment.