aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/dist/dist.sh
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-10 04:14:12 +0900
committerOphestra <cat@gensokyo.uk>2026-05-10 04:15:07 +0900
commitee5c0dd13529c20761209c8f4fb26b3816866bc5 (patch)
tree56a40400565d1fc5d58ef16af682176f463af990 /cmd/dist/dist.sh
parent92c48d82e25906e7202bf077c62390db62f71a61 (diff)
cmd/dist: optionally skip tests
Works around incomplete syscall translation by qemu. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/dist/dist.sh')
-rwxr-xr-xcmd/dist/dist.sh10
1 files changed, 10 insertions, 0 deletions
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