[scripts] Do not use -v when building Go binaries.

This commit is contained in:
Ciprian Dorin Craciun 2021-11-17 20:58:41 +02:00
parent 1622a7516c
commit 9740a9866d

View file

@ -35,7 +35,6 @@
rm -f -- "${_outputs}/binaries/debug/kawipiko-server" rm -f -- "${_outputs}/binaries/debug/kawipiko-server"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-o "${_outputs}/binaries/debug/kawipiko-server" \ -o "${_outputs}/binaries/debug/kawipiko-server" \
-- ./cmd/server.go \ -- ./cmd/server.go \
@ -49,7 +48,6 @@
rm -f -- "${_outputs}/binaries/release/kawipiko-server" rm -f -- "${_outputs}/binaries/release/kawipiko-server"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-tags netgo \ -tags netgo \
-ldflags 'all=-s -extld=gcc -extldflags=-static' \ -ldflags 'all=-s -extld=gcc -extldflags=-static' \
@ -66,7 +64,6 @@
rm -f -- "${_outputs}/binaries/debug/kawipiko-server" rm -f -- "${_outputs}/binaries/debug/kawipiko-server"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-gcflags '-m' \ -gcflags '-m' \
-o "${_outputs}/binaries/debug/kawipiko-server" \ -o "${_outputs}/binaries/debug/kawipiko-server" \
@ -118,7 +115,6 @@
rm -f -- "${_outputs}/binaries/debug/kawipiko-archiver" rm -f -- "${_outputs}/binaries/debug/kawipiko-archiver"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-o "${_outputs}/binaries/debug/kawipiko-archiver" \ -o "${_outputs}/binaries/debug/kawipiko-archiver" \
-- ./cmd/archiver.go \ -- ./cmd/archiver.go \
@ -132,7 +128,6 @@
rm -f -- "${_outputs}/binaries/release/kawipiko-archiver" rm -f -- "${_outputs}/binaries/release/kawipiko-archiver"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-tags 'netgo brotli' \ -tags 'netgo brotli' \
-ldflags 'all=-s -extld=gcc -extldflags=-static' \ -ldflags 'all=-s -extld=gcc -extldflags=-static' \
@ -184,7 +179,6 @@
rm -f -- "${_outputs}/binaries/release/kawipiko" rm -f -- "${_outputs}/binaries/release/kawipiko"
exec -- "${ZRUN[@]}" ':: go / tool' \ exec -- "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-tags 'netgo brotli' \ -tags 'netgo brotli' \
-ldflags 'all=-s -extld=gcc -extldflags=-static' \ -ldflags 'all=-s -extld=gcc -extldflags=-static' \
@ -642,7 +636,6 @@
rm -f -- "${_outputs}/binaries/release/kawipiko-server-dummy" rm -f -- "${_outputs}/binaries/release/kawipiko-server-dummy"
"${ZRUN[@]}" ':: go / tool' \ "${ZRUN[@]}" ':: go / tool' \
build \ build \
-v \
-mod readonly \ -mod readonly \
-tags netgo \ -tags netgo \
-ldflags 'all=-s -extld=gcc -extldflags=-static' \ -ldflags 'all=-s -extld=gcc -extldflags=-static' \