1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

add arm platform support

This commit is contained in:
Timothy 2017-10-10 13:27:37 +08:00
parent 8743fce090
commit b5397fb1f3

View File

@ -17,6 +17,10 @@ release:
go clean
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
tar czvf ${BINARY}-linux64-${VERSION}.tar.gz ./${BINARY}
# Build for arm
go clean
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build
tar czvf ${BINARY}-arm64-${VERSION}.tar.gz ./${BINARY}
# Build for win
go clean
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build