Skip to content

Commit

Permalink
Strip debug information from binary
Browse files Browse the repository at this point in the history
  • Loading branch information
berlam committed Oct 4, 2019
1 parent 60b0e12 commit 617eca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for GOOS in darwin linux windows; do
SUFFIX=`[ $GOOS = "windows" ] && echo ".exe"`
for GOARCH in 386 amd64; do
TARGET=.release/$GOOS/$GOARCH/eager$SUFFIX
go build -v -o $TARGET
go build -ldflags="-s -w" -v -o $TARGET
tar --transform 's/.*\///g' -czvf .dist/eager-$GOOS-$GOARCH.tar.gz $TARGET README.md LICENSE
done
done

0 comments on commit 617eca4

Please sign in to comment.