mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 04:14:25 +00:00
Exclude darwin/arm from cross compile targets
This commit is contained in:
parent
510542b159
commit
49f2051c93
2
Makefile
2
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
|
if [ `go fmt $(go list ./... | grep -v /vendor/) | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
|
||||||
|
|
||||||
cross_compile:
|
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:
|
targz:
|
||||||
mkdir -p ${OUTPUT_DIR}/dist
|
mkdir -p ${OUTPUT_DIR}/dist
|
||||||
|
Loading…
Reference in New Issue
Block a user