2016-07-23 01:43:27 -04:00
|
|
|
all: test
|
|
|
|
|
|
|
|
test:
|
|
|
|
@go test ./...
|
2016-07-28 19:36:30 -04:00
|
|
|
|
2018-04-15 15:43:32 -04:00
|
|
|
.PHONY: profanity
|
|
|
|
profanity:
|
2018-04-15 19:53:01 -04:00
|
|
|
@profanity -include="*.go,Makefile,README.md"
|
2018-04-15 15:43:32 -04:00
|
|
|
|
2016-07-28 19:36:30 -04:00
|
|
|
cover:
|
|
|
|
@go test -short -covermode=set -coverprofile=profile.cov
|
|
|
|
@go tool cover -html=profile.cov
|
2018-04-15 15:43:32 -04:00
|
|
|
@rm profile.cov
|
|
|
|
|
|
|
|
deps:
|
|
|
|
@go get -u github.com/blend/go-sdk/_bin/profanity
|