.PHONY: build test test-integration lint clean coverage

build:
	go build -o review-bot ./cmd/review-bot/

test:
	go test ./...

test-integration:
	go test -tags integration -v ./cmd/review-bot/

lint:
	go vet ./...

clean:
	rm -f review-bot

coverage:
	go test -coverprofile=coverage.out ./...
	go tool cover -func=coverage.out
