mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 21:43:32 +02:00
trim out unused platforms, we can add then back in on request
publish windows binaries as .exe
This commit is contained in:
@@ -1,18 +1,19 @@
|
|||||||
PLATFORMS= \
|
PLATFORMS= \
|
||||||
freebsd-386 \
|
|
||||||
freebsd-amd64 \
|
freebsd-amd64 \
|
||||||
freebsd-arm \
|
|
||||||
linux-386 \
|
linux-386 \
|
||||||
linux-amd64 \
|
linux-amd64 \
|
||||||
linux-arm \
|
|
||||||
openbsd-386 \
|
|
||||||
openbsd-amd64 \
|
|
||||||
windows-386 \
|
windows-386 \
|
||||||
windows-amd64 \
|
windows-amd64 \
|
||||||
darwin-386 \
|
|
||||||
darwin-amd64 \
|
darwin-amd64 \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
# freebsd-386 \
|
||||||
|
# freebsd-arm \
|
||||||
|
# linux-arm \
|
||||||
|
# openbsd-386 \
|
||||||
|
# openbsd-amd64 \
|
||||||
|
# darwin-386
|
||||||
|
|
||||||
NAME=jira
|
NAME=jira
|
||||||
|
|
||||||
OS=$(shell uname -s)
|
OS=$(shell uname -s)
|
||||||
@@ -65,6 +66,7 @@ all:
|
|||||||
echo "Building for $$p"; \
|
echo "Building for $$p"; \
|
||||||
${MAKE} build GOOS=$${p/-*/} GOARCH=$${p/*-/} BIN=$(DIST)/$(NAME)-$$p; \
|
${MAKE} build GOOS=$${p/-*/} GOARCH=$${p/*-/} BIN=$(DIST)/$(NAME)-$$p; \
|
||||||
done
|
done
|
||||||
|
for x in $(DIST)/jira-windows-*; do mv $$x $$x.exe; done
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
gofmt -s -w main/*.go *.go
|
gofmt -s -w main/*.go *.go
|
||||||
|
|||||||
Reference in New Issue
Block a user