mirror of https://github.com/liamg/aminal.git
releasing
This commit is contained in:
parent
dfa828468b
commit
ea24c1720d
4
Makefile
4
Makefile
|
@ -31,9 +31,9 @@ update-fonts: install-tools
|
||||||
.PHONY: build-linux
|
.PHONY: build-linux
|
||||||
build-linux:
|
build-linux:
|
||||||
mkdir -p bin/linux
|
mkdir -p bin/linux
|
||||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o bin/${BINARY}-linux-amd64 -ldflags "-X main.Version=`${CIRCLE_TAG}`
|
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o bin/${BINARY}-linux-amd64 -ldflags "-X main.Version=`${CIRCLE_TAG}`"
|
||||||
|
|
||||||
.PHONY: build-darwin
|
.PHONY: build-darwin
|
||||||
build-darwin:
|
build-darwin:
|
||||||
mkdir -p bin/darwin
|
mkdir -p bin/darwin
|
||||||
xgo -ldflags "-X main.Version=`${CIRCLE_TAG}` --targets=darwin/amd64 --dest=bin/darwin -out ${BINARY}-darwin-amd64 .
|
xgo -ldflags "-X main.Version=`${CIRCLE_TAG}`" --targets=darwin/amd64 --dest=bin/darwin -out ${BINARY}-darwin-amd64 .
|
||||||
|
|
Loading…
Reference in New Issue