feat: smaller binaries

This commit is contained in:
Jan De Dobbeleer 2021-11-30 20:03:58 +01:00 committed by Jan De Dobbeleer
parent 89e2c28192
commit 7b4333ae77

View file

@ -7,8 +7,10 @@ builds:
-
binary: "posh-{{ .Os }}-{{ .Arch }}"
no_unique_dist_dir: true
flags:
- -a
ldflags:
- -X main.Version={{.Version}}
- -s -w -X main.Version={{.Version}}
goos:
- linux
- windows