From ee5c0dd13529c20761209c8f4fb26b3816866bc5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 10 May 2026 04:14:12 +0900 Subject: cmd/dist: optionally skip tests Works around incomplete syscall translation by qemu. Signed-off-by: Ophestra --- cmd/dist/dist.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 cmd/dist/dist.sh (limited to 'cmd/dist/dist.sh') diff --git a/cmd/dist/dist.sh b/cmd/dist/dist.sh new file mode 100755 index 00000000..42240be2 --- /dev/null +++ b/cmd/dist/dist.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e + +TOOLCHAIN_VERSION="$(go version)" +cd "$(dirname -- "$0")/../.." +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