From 34ca09cf1ad72f24dcdb788a97f1fef7dc042a71 Mon Sep 17 00:00:00 2001 From: Cory Bennett Date: Wed, 29 Jun 2016 23:08:54 -0700 Subject: [PATCH] trim out unused platforms, we can add then back in on request publish windows binaries as .exe --- Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index d7bfef9..509f3bf 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,19 @@ PLATFORMS= \ - freebsd-386 \ freebsd-amd64 \ - freebsd-arm \ linux-386 \ linux-amd64 \ - linux-arm \ - openbsd-386 \ - openbsd-amd64 \ windows-386 \ windows-amd64 \ - darwin-386 \ darwin-amd64 \ $(NULL) + # freebsd-386 \ + # freebsd-arm \ + # linux-arm \ + # openbsd-386 \ + # openbsd-amd64 \ + # darwin-386 + NAME=jira OS=$(shell uname -s) @@ -65,6 +66,7 @@ all: echo "Building for $$p"; \ ${MAKE} build GOOS=$${p/-*/} GOARCH=$${p/*-/} BIN=$(DIST)/$(NAME)-$$p; \ done + for x in $(DIST)/jira-windows-*; do mv $$x $$x.exe; done fmt: gofmt -s -w main/*.go *.go