We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3a67c commit 5f3a8bcCopy full SHA for 5f3a8bc
Makefile
@@ -1,7 +1,7 @@
1
GIT_DATE := $(shell git log -1 --date=short --pretty='%cd' | tr -d -)
2
GIT_HASH := $(shell git rev-parse HEAD)
3
4
-BUILD_FLAGS := -trimpath -ldflags "-X main.gitDate=$(GIT_DATE) -X main.gitHash=$(GIT_HASH)"
+BUILD_FLAGS := -trimpath -ldflags "-w -s -X main.gitDate=$(GIT_DATE) -X main.gitHash=$(GIT_HASH)"
5
6
PLATFORMS := linux/amd64 linux/386 linux/arm darwin/amd64 windows/amd64 windows/386 openbsd/amd64
7
SOURCES := $(shell find . -maxdepth 1 -type f -name "*.go")
0 commit comments