summaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-xcrossbuild.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/crossbuild.bash b/crossbuild.bash
index a33cb05..0f867d4 100755
--- a/crossbuild.bash
+++ b/crossbuild.bash
@@ -1,9 +1,11 @@
-#!/bin/bash -eux
+#!/bin/bash -eu
cd "$(dirname "$0")"
B="go build -tags without_openssl"
+set -x
+
GOOS=linux GOARCH=arm $B
GOOS=linux GOARCH=arm64 $B
GOOS=darwin GOARCH=amd64 $B