Skip to content

Commit

Permalink
dist: update build script
Browse files Browse the repository at this point in the history
darwin/386 is no longer supported by Go.
  • Loading branch information
dominikh committed Dec 14, 2020
1 parent c5b83c7 commit cdfeb40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,16 @@ 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
build "$os" "$arch"
done
done

build "darwin" "amd64"

for arch in armv5l armv6l armv7l arm64; do
build "linux" "$arch"
done
Expand Down

0 comments on commit cdfeb40

Please sign in to comment.