mirror of https://github.com/liamg/aminal.git
release script
This commit is contained in:
parent
3552068201
commit
788ef6de75
|
@ -21,7 +21,6 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- run: make build-linux
|
||||
- run: tree bin
|
||||
build-darwin:
|
||||
docker:
|
||||
# specify the version
|
||||
|
@ -30,7 +29,6 @@ jobs:
|
|||
steps:
|
||||
- checkout
|
||||
- run: make build-darwin
|
||||
- run: tree bin
|
||||
release:
|
||||
docker:
|
||||
# specify the version
|
||||
|
|
6
Makefile
6
Makefile
|
@ -21,8 +21,6 @@ install: build
|
|||
install-tools:
|
||||
which dep || curl -L https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
which packr || go get -u github.com/gobuffalo/packr/packr
|
||||
which github-release || go get -u github.com/aktau/github-release
|
||||
which xgo || go get github.com/karalabe/xgo
|
||||
|
||||
.PHONY: update-fonts
|
||||
update-fonts: install-tools
|
||||
|
@ -31,12 +29,12 @@ update-fonts: install-tools
|
|||
packr -v
|
||||
|
||||
.PHONY: build-linux
|
||||
build-linux: test install-tools
|
||||
build-linux:
|
||||
mkdir -p bin
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o bin/aminal-linux-amd64
|
||||
|
||||
.PHONY: build-darwin
|
||||
build-darwin: test install-tools
|
||||
build-darwin:
|
||||
mkdir -p bin
|
||||
xgo --targets=darwin/amd64 --dest=bin -out ${BINARY}-darwin-amd64 .
|
||||
|
||||
|
|
Loading…
Reference in New Issue