Skip to content

Commit

Permalink
remove sh testandcover, add to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
felipejfc committed Jun 17, 2016
1 parent 799ad2f commit b2f5a4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ build:
@go build

coverage:
@./testandcover.sh

@echo "mode: count" > coverage-all.out
@$(foreach pkg,$(PACKAGES),\
go test -coverprofile=coverage.out -covermode=count $(pkg);\
tail -n +2 coverage.out >> coverage-all.out;)
run:
@go run main.go start

Expand Down
8 changes: 0 additions & 8 deletions testandcover.sh

This file was deleted.

0 comments on commit b2f5a4e

Please sign in to comment.