aboutsummaryrefslogtreecommitdiffstats
path: root/skate/Makefile
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-27 16:13:54 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-27 16:13:54 +0200
commitae5bf0b22dab6d1474f7c013992a93ef5caa5ce6 (patch)
tree0deb7165267dad328d453093b95b76dd41d3abe8 /skate/Makefile
parenteb9d9205a2d8b83bdcb50b63e98b5c90fbb94c6c (diff)
downloadrefcat-ae5bf0b22dab6d1474f7c013992a93ef5caa5ce6.tar.gz
refcat-ae5bf0b22dab6d1474f7c013992a93ef5caa5ce6.zip
shrink go binaries
Diffstat (limited to 'skate/Makefile')
-rw-r--r--skate/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/Makefile b/skate/Makefile
index 2fabc6f..a939401 100644
--- a/skate/Makefile
+++ b/skate/Makefile
@@ -15,7 +15,7 @@ all: generate $(TARGETS)
go mod tidy
%: cmd/%/main.go
- go build -o $@ $<
+ go build -ldflags="-s -w" -o $@ $<
.PHONY: clean
clean: