mirror of https://github.com/icedream/icecon.git
Adjust go build flags.
parent
12224a9ae3
commit
48f1ab5f16
|
@ -90,7 +90,7 @@ def build(os, arch) {
|
|||
"""
|
||||
sh "go generate -v ./..."
|
||||
sh "go get -v -d ./..."
|
||||
sh "go build -o ${binfilename}"
|
||||
sh "go build -v -ldflags -s -o ${binfilename}"
|
||||
upx binfilename
|
||||
archive "${binfilename}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue