release script

This commit is contained in:
Liam Galvin 2018-11-24 18:43:48 +00:00
parent 3552068201
commit 788ef6de75
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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 .