diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d26795..72cc0be 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/Makefile b/Makefile index 0ba5c97..cc5255d 100644 --- a/Makefile +++ b/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 .