COP=cover.out

.PHONY: vet lint test test-cover fuzz clean

vet:
	@- go vet ./...

lint: vet
	@- golangci-lint run

test: vet
	@- go test -race -count 1 -v -coverprofile="$(COP)" ./...

test-cover: test
	@- go tool cover -func="$(COP)"

clean:
	@- rm -f "$(COP)"
