Skip to content

Commit

Permalink
Merge pull request #4 from carlpett/refactor-and-fix-issue-2
Browse files Browse the repository at this point in the history
Fixes #2. Also refactors a lot, in order to be able to test
  • Loading branch information
carlpett authored Jul 19, 2018
2 parents 1807db6 + 3b6bd5a commit 9f6d474
Show file tree
Hide file tree
Showing 292 changed files with 53,401 additions and 91 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
steps:
- checkout
- run: make build
- run: make test
- store_artifacts:
path: bzfttr53rdutil
destination: bzfttr53rdutil
Expand Down
54 changes: 53 additions & 1 deletion Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ VERSION = $(shell git describe --always --tags --dirty=-dirty)
REVISION = $(shell git rev-parse --short=8 HEAD)
BRANCH = $(shell git rev-parse --abbrev-ref HEAD)

all: build
all: build test

build:
@echo ">> building bzfttr53rdutil"
Expand All @@ -13,6 +13,9 @@ build:
-X main.BuildUser=$(USER)@$(HOSTNAME) \
-X main.BuildDate=$(shell date +%Y-%m-%dT%T%z)"

test:
@go test -v -cover

release: build bin/github-release
@echo ">> uploading release ${VERSION}"
@./bin/github-release upload -t ${VERSION} -n bzfttr53rdutil -f bzfttr53rdutil
Expand Down
Loading

0 comments on commit 9f6d474

Please sign in to comment.