mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
feat(build): static build
This commit is contained in:
parent
06231cb08e
commit
8fca218a7d
|
@ -10,7 +10,13 @@ builds:
|
|||
flags:
|
||||
- -a
|
||||
ldflags:
|
||||
- -s -w -X main.Version={{.Version}}
|
||||
- -s -w -X main.Version={{.Version}} -extldflags "-static"
|
||||
tags:
|
||||
- netgo
|
||||
- osusergo
|
||||
- static_build
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
|
|
Loading…
Reference in a new issue