Skip to content

Commit 169dfdf

Browse files
committed
dist: update build script
darwin/386 is no longer supported by Go. (cherry picked from commit cdfeb40)
1 parent ead01d5 commit 169dfdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dist/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ go mod init foo
6262
GO111MODULE=on go get -d honnef.co/go/tools/cmd/staticcheck@"$rev"
6363

6464

65-
SYSTEMS=(windows linux freebsd darwin)
65+
SYSTEMS=(windows linux freebsd)
6666
ARCHS=(amd64 386)
6767
for os in ${SYSTEMS[@]}; do
6868
for arch in ${ARCHS[@]}; do
6969
build "$os" "$arch"
7070
done
7171
done
7272

73+
build "darwin" "amd64"
74+
7375
for arch in armv5l armv6l armv7l arm64; do
7476
build "linux" "$arch"
7577
done

0 commit comments

Comments
 (0)