.PHONY: mocks test

GO_MOCK = mockery -note @generated -output mocks

test:
	go vet ./...
	errcheck -blank ./...
	go test -race ./...

mocks:
	@rm -f mocks/*
	$(GO_MOCK) -dir smartling -name ClientAPI

setup:
	go get -u github.com/twitchtv/retool
	retool build
