We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57351b4 commit fba068dCopy full SHA for fba068d
Makefile
@@ -20,12 +20,12 @@ test:
20
go test -cover ./...
21
22
build-macos:
23
- GOOS=darwin $(GOBUILD) -o main.go -o $(RELEASEDIR)/gstatic_macos
+ GOOS=darwin $(GOBUILD) -ldflags="-s -w" -o main.go -o $(RELEASEDIR)/gstatic_macos
24
25
build-linux:
26
- GOOS=linux $(GOBUILD) -o main.go -o $(RELEASEDIR)/gstatic_linux
+ GOOS=linux $(GOBUILD) -ldflags="-s -w" -o main.go -o $(RELEASEDIR)/gstatic_linux
27
28
build-win: setup
29
- GOOS=windows GOARCH=386 $(GOBUILD) -o main.go -o $(RELEASEDIR)/gstatic.exe
+ GOOS=windows GOARCH=386 $(GOBUILD) -ldflags="-s -w" -o main.go -o $(RELEASEDIR)/gstatic.exe
30
31
release: clean build-linux build-win build-macos
0 commit comments