Build more versions
This includes Merge pull request #528 from franciscocpg/master to build arm
diff --git a/Makefile b/Makefile
index 499bf4f..05fcaeb 100644
--- a/Makefile
+++ b/Makefile
@@ -23,13 +23,17 @@
rm -rf ./dist
bootstrap-dist:
- ${GLIDE_GO_EXECUTABLE} get -u github.com/mitchellh/gox
+ ${GLIDE_GO_EXECUTABLE} get -u github.com/franciscocpg/gox
+ cd ${GOPATH}/src/github.com/franciscocpg/gox && git checkout dc50315fc7992f4fa34a4ee4bb3d60052eeb038e
+ cd ${GOPATH}/src/github.com/franciscocpg/gox && ${GLIDE_GO_EXECUTABLE} install
+
build-all:
gox -verbose \
-ldflags "-X main.version=${VERSION}" \
- -os="linux darwin windows " \
- -arch="amd64 386" \
+ -os="linux darwin windows freebsd openbsd netbsd plan9" \
+ -arch="amd64 386 armv5 armv6 armv7 arm64" \
+ -osarch="!darwin/arm64" \
-output="dist/{{.OS}}-{{.Arch}}/{{.Dir}}" .
dist: build-all