From 49f2051c93c20c02c7a9cbac04c00c8d9d3bf445 Mon Sep 17 00:00:00 2001 From: Iwasaki Yudai Date: Fri, 29 Jul 2016 16:52:37 +0900 Subject: [PATCH] Exclude darwin/arm from cross compile targets --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a379c8..2298746 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ test: if [ `go fmt $(go list ./... | grep -v /vendor/) | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi cross_compile: - GOARM=5 gox -os="darwin linux freebsd netbsd openbsd" -arch="386 amd64 arm" -output "${OUTPUT_DIR}/pkg/{{.OS}}_{{.Arch}}/{{.Dir}}" + GOARM=5 gox -os="darwin linux freebsd netbsd openbsd" -arch="386 amd64 arm" -osarch="!darwin/arm" -output "${OUTPUT_DIR}/pkg/{{.OS}}_{{.Arch}}/{{.Dir}}" targz: mkdir -p ${OUTPUT_DIR}/dist