1
0
mirror of https://github.com/taigrr/wtf synced 2026-04-01 01:28:44 -07:00

Use -s -w to reduce the final binary size when running 'make install'

This commit is contained in:
Chris Cummer
2018-07-17 11:55:40 -07:00
parent dc50bce2ed
commit 4a1caf6e7c

View File

@@ -8,7 +8,7 @@ contrib_check:
install:
go clean
go install -ldflags="-X main.version=$(shell git describe --always --abbrev=6) -X main.date=$(shell date +%FT%T%z)"
go install -ldflags="-s -w -X main.version=$(shell git describe --always --abbrev=6) -X main.date=$(shell date +%FT%T%z)"
which wtf
run: build