mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 12:13:29 +02:00
bugfix: only build jira tool with gox
previosly running the "make all" target build th schema binary with the same name as the jira binaries. This caused the schema tool to be called incorrectly. Gox performing parallel builds made this issue only happen "somtimes". Signed-off-by: ldelossa <ldelossa@redhat.com>
This commit is contained in:
committed by
Louis DeLosSantos
parent
a8c961fe19
commit
aa8dae7c5b
@@ -42,7 +42,7 @@ all:
|
||||
GO111MODULE=off $(GO) get -u github.com/mitchellh/gox
|
||||
rm -rf dist
|
||||
mkdir -p dist
|
||||
gox -ldflags="-w -s" -output="dist/github.com/go-jira/jira-{{.OS}}-{{.Arch}}" -osarch="darwin/amd64 linux/386 linux/amd64 windows/386 windows/amd64" ./...
|
||||
gox -ldflags="-w -s" -output="dist/github.com/go-jira/jira-{{.OS}}-{{.Arch}}" -osarch="darwin/amd64 linux/386 linux/amd64 windows/386 windows/amd64" ./cmd/jira
|
||||
|
||||
install:
|
||||
${MAKE} GOBIN=$$HOME/bin build
|
||||
|
||||
Reference in New Issue
Block a user