Skip to content

Commit

Permalink
Re-add Architecture. Closes #29.
Browse files Browse the repository at this point in the history
  • Loading branch information
darron committed Feb 27, 2016
1 parent d46ac30 commit 6b165d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ GIT_COMMIT=$(shell git rev-parse HEAD)
COMPILE_DATE=$(shell date -u +%Y%m%d.%H%M%S)
BUILD_FLAGS=-X main.CompileDate=$(COMPILE_DATE) -X main.GitCommit=$(GIT_COMMIT) -X main.Version=$(GOSHE_VERSION)
UNAME=$(shell uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(shell arch)

all: build

Expand All @@ -23,7 +24,7 @@ build: clean

gzip:
gzip bin/goshe
mv bin/goshe.gz bin/goshe-$(GOSHE_VERSION)-$(UNAME).gz
mv bin/goshe.gz bin/goshe-$(GOSHE_VERSION)-$(UNAME)-$(ARCH).gz

release: clean build gzip

Expand Down

0 comments on commit 6b165d6

Please sign in to comment.