mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
feat: smaller binaries
This commit is contained in:
parent
89e2c28192
commit
7b4333ae77
|
@ -7,8 +7,10 @@ builds:
|
||||||
-
|
-
|
||||||
binary: "posh-{{ .Os }}-{{ .Arch }}"
|
binary: "posh-{{ .Os }}-{{ .Arch }}"
|
||||||
no_unique_dist_dir: true
|
no_unique_dist_dir: true
|
||||||
|
flags:
|
||||||
|
- -a
|
||||||
ldflags:
|
ldflags:
|
||||||
- -X main.Version={{.Version}}
|
- -s -w -X main.Version={{.Version}}
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
|
|
Loading…
Reference in a new issue