From b2b40b07e83af85330157e134d1cc591ed4f7c76 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 4 May 2026 04:00:33 +0900 Subject: cmd/dist: optional verbosity This makes output less noisy. The build is fast enough not to require progress indication. Signed-off-by: Ophestra --- all.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'all.sh') diff --git a/all.sh b/all.sh index 17b6b862..a7db6d61 100755 --- a/all.sh +++ b/all.sh @@ -2,5 +2,9 @@ TOOLCHAIN_VERSION="$(go version)" cd "$(dirname -- "$0")/" -echo "# Building cmd/dist using ${TOOLCHAIN_VERSION}." -go run -v --tags=dist ./cmd/dist +echo "Building cmd/dist using ${TOOLCHAIN_VERSION}." +FLAGS='' +if test -n "$VERBOSE"; then + FLAGS="$FLAGS -v" +fi +go run $FLAGS --tags=dist ./cmd/dist -- cgit v1.3.1