mirror of https://github.com/liamg/aminal.git
releasing
This commit is contained in:
parent
d725089419
commit
22fc919085
|
@ -27,7 +27,7 @@ jobs:
|
|||
root: .
|
||||
# Must be relative path from root
|
||||
paths:
|
||||
- bin
|
||||
- bin/linux
|
||||
build-darwin:
|
||||
docker:
|
||||
# specify the version
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
root: .
|
||||
# Must be relative path from root
|
||||
paths:
|
||||
- bin
|
||||
- bin/darwin
|
||||
release:
|
||||
docker:
|
||||
- image: circleci/golang:latest
|
||||
|
|
8
Makefile
8
Makefile
|
@ -30,12 +30,12 @@ update-fonts: install-tools
|
|||
|
||||
.PHONY: build-linux
|
||||
build-linux:
|
||||
mkdir -p bin
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o bin/aminal-linux-amd64
|
||||
mkdir -p bin/linux
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o bin/${BINARY}-linux-amd64
|
||||
|
||||
.PHONY: build-darwin
|
||||
build-darwin:
|
||||
mkdir -p bin
|
||||
xgo --targets=darwin/amd64 --dest=bin -out ${BINARY}-darwin-amd64 .
|
||||
mkdir -p bin/darwin
|
||||
xgo --targets=darwin/amd64 --dest=bin/darwin -out ${BINARY}-darwin-amd64 .
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue