diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-04 04:00:33 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-04 04:02:02 +0900 |
| commit | b2b40b07e83af85330157e134d1cc591ed4f7c76 (patch) | |
| tree | 78439d07612e05ec7d916b24ba8e5d55097204e6 /all.sh | |
| parent | da11b26ec16ef9ed61045fdbb03c4090286bfeba (diff) | |
cmd/dist: optional verbosity
This makes output less noisy. The build is fast enough not to require progress indication.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'all.sh')
| -rwxr-xr-x | all.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
