Skip to content

Commit

Permalink
Add Makefile, .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
bahlo committed Aug 27, 2015
1 parent f0dd0b1 commit f195179
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
._*
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
COVERAGE_FILE=/tmp/abutils_coverage.out

test:
go test -cover -v -race

cover:
go test -coverprofile=$(COVERAGE_FILE) && \
go tool cover -html=$(COVERAGE_FILE) && \
rm $(COVERAGE_FILE)

0 comments on commit f195179

Please sign in to comment.