mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-12 14:04:05 -08:00
feat(build): static build
This commit is contained in:
parent
06231cb08e
commit
8fca218a7d
|
@ -10,7 +10,13 @@ builds:
|
||||||
flags:
|
flags:
|
||||||
- -a
|
- -a
|
||||||
ldflags:
|
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:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
|
|
Loading…
Reference in a new issue