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 96baa6c commit 8764027Copy full SHA for 8764027
Makefile
@@ -4,7 +4,7 @@ MAIN_PATH=./cmd/memotty
4
VERSION=$(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
5
COMMIT=$(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
6
BUILD_TIME=$(shell date +%Y-%m-%d_%H:%M:%S)
7
-LDFLAGS=-ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -X main.buildTime=$(BUILD_TIME)"
+LDFLAGS=-ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -X main.buildTime=$(BUILD_TIME) -s -w"
8
9
.PHONY: help
10
help:
0 commit comments