From 3b3359380b3de14c33655224ca887e8ec4db1c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Tue, 16 Apr 2024 14:16:07 +0200 Subject: [PATCH] Cleanup --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cc559c0..3151259 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ precommit: mod gen test .PHONY: ci ci: ## CI build pipeline -ci: precommit check-clean-work-tree +ci: precommit diff .PHONY: mod mod: ## go mod tidy @@ -34,8 +34,8 @@ test: ## go test $(call print-target) $(GO) test -race -covermode=atomic -coverprofile=coverage.out -coverpkg=./... ./... -.PHONY: check-clean-work-tree -check-clean-work-tree: ## git diff +.PHONY: diff +diff: ## git diff $(call print-target) if ! git diff --quiet; then \ echo; \