Skip to content

Commit

Permalink
dist: remove darwin/386
Browse files Browse the repository at this point in the history
This target is not supported in Go 1.15 anymore.
  • Loading branch information
zimbatm committed Dec 27, 2020
1 parent 64545a7 commit 1516d9c
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,26 @@ install: all
.PHONY: dist
dist:
@command -v gox >/dev/null || (echo "Could not generate dist because gox is missing. Run: go get -u github.com/mitchellh/gox"; false)
CGO_ENABLED=0 gox -osarch "linux/arm64" -osarch "linux/ppc64" -output "$(DISTDIR)/direnv.{{.OS}}-{{.Arch}}"
CGO_ENABLED=0 gox -output "$(DISTDIR)/direnv.{{.OS}}-{{.Arch}}"

CGO_ENABLED=0 gox -output "$(DISTDIR)/direnv.{{.OS}}-{{.Arch}}" \
-osarch darwin/amd64 \
-osarch freebsd/386 \
-osarch freebsd/amd64 \
-osarch freebsd/arm \
-osarch linux/386 \
-osarch linux/amd64 \
-osarch linux/arm \
-osarch linux/arm64 \
-osarch linux/mips \
-osarch linux/mips64 \
-osarch linux/mips64le \
-osarch linux/mipsle \
-osarch linux/ppc64 \
-osarch linux/s390x \
-osarch netbsd/386 \
-osarch netbsd/amd64 \
-osarch netbsd/arm \
-osarch openbsd/386 \
-osarch openbsd/amd64 \
-osarch windows/386 \
-osarch windows/amd64 \
&& true

0 comments on commit 1516d9c

Please sign in to comment.