Skip to content

Commit 8b44de3

Browse files
authored
Smaller release binaries (#52)
* Add README * Smaller binaries
1 parent 977360a commit 8b44de3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/cross-compile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ go-bindata -o core/bindata.go -nometadata -pkg core tmp/
3535
# Cross compile
3636
gox \
3737
-osarch="darwin/amd64 linux/amd64 windows/amd64" \
38+
-ldflags="-s -w" \
3839
-output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}"

0 commit comments

Comments
 (0)