diff --git a/Makefile b/Makefile index cc16258..b144792 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,14 @@ all: test test: @go test ./... +.PHONY: profanity +profanity: + @profanity + cover: @go test -short -covermode=set -coverprofile=profile.cov @go tool cover -html=profile.cov - @rm profile.cov \ No newline at end of file + @rm profile.cov + +deps: + @go get -u github.com/blend/go-sdk/_bin/profanity diff --git a/PROFANITY b/PROFANITY new file mode 100644 index 0000000..9806333 --- /dev/null +++ b/PROFANITY @@ -0,0 +1,8 @@ +- contains: "github.com/blend/" + message: "should not include go-sdk in this (outside tests)" + include: "*.go" + exclude: "*_test.go" +- contains: "github.com/blendlabs/" + message: "should not include blend go-* packages in this" + include: "*.go" +