.PHONY: build test lint clean run BINARY := claudomator BUILD_DIR := bin GO := go build: $(GO) build -o $(BUILD_DIR)/$(BINARY) ./cmd/claudomator test: $(GO) test ./... -v -race -count=1 test-cover: $(GO) test ./... -coverprofile=coverage.out -race $(GO) tool cover -html=coverage.out -o coverage.html lint: golangci-lint run ./... clean: rm -rf $(BUILD_DIR) coverage.out coverage.html run: build ./$(BUILD_DIR)/$(BINARY) tidy: $(GO) mod tidy