dist: update build script
darwin/386 is no longer supported by Go.
@@ -62,7 +62,7 @@ go mod init foo
GO111MODULE=on go get -d honnef.co/go/tools/cmd/staticcheck@"$rev"
-SYSTEMS=(windows linux freebsd darwin)
+SYSTEMS=(windows linux freebsd)
ARCHS=(amd64 386)
for os in ${SYSTEMS[@]}; do
for arch in ${ARCHS[@]}; do
@@ -70,6 +70,8 @@ for os in ${SYSTEMS[@]}; do
done
done
+build "darwin" "amd64"
+
for arch in armv5l armv6l armv7l arm64; do
build "linux" "$arch"
done
