lint:
	golint code.justin.tv/chat/badges/app/...

GO_MOCK=mockery -note @generated -inpkg -dir $(GOPATH)/src/code.justin.tv/chat/badges
mocks:
	$(GO_MOCK)/app/db              -name DynamoDB
	$(GO_MOCK)/app/kraken          -name Client
	$(GO_MOCK)/app/logic           -name Logic
	$(GO_MOCK)/app/s3              -name S3
	$(GO_MOCK)/client              -name Client
	mockery -note @generated -dir $(GOPATH)/src/code.justin.tv/chat/tmi/client -name Client -print > $(GOPATH)/src/code.justin.tv/chat/badges/app/mocks/tmi/mock_TMI.go

test:
	go test -race code.justin.tv/chat/badges/app/...
