We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13dcf6b commit 06150f3Copy full SHA for 06150f3
build.sh
@@ -13,12 +13,12 @@ mv main buffer-static-upload
13
14
# Build linux
15
echo "Compiling linux binary"
16
-env GOOS=linux GOARCH=amd64 go build main.go
+env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" main.go
17
mv main ./dist/buffer-static-upload-Linux
18
19
# Build mac
20
echo "Compiling mac binary"
21
-env GOOS=darwin GOARCH=amd64 go build main.go
+env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" main.go
22
mv main ./dist/buffer-static-upload-Darwin
23
24
echo "Done!"
0 commit comments