From deaae4d37a061ad0d4a69aa86c3cded2b47ed7c6 Mon Sep 17 00:00:00 2001 From: Aleksey Savchuk Date: Tue, 4 Mar 2025 12:54:12 +0300 Subject: [PATCH] [#6] Makefile: Remove `fmt` rule, use `fumpt` rule instead There were several problems: - `fmt` was a duplicate of `fumpt` - `fmt` used globally installed `gofumpt` Signed-off-by: Aleksey Savchuk --- Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 731131a..4fe0061 100755 --- a/Makefile +++ b/Makefile @@ -24,12 +24,7 @@ GOFUMPT_DIR ?= $(abspath $(BIN))/gofumpt GOFUMPT_VERSION_DIR ?= $(GOFUMPT_DIR)/$(GOFUMPT_VERSION) # Run all code formatters -fmts: fmt imports - -# Reformat code -fmt: - @echo "⇒ Processing gofmt check" - @gofumpt -s -w . +fmts: fumpt imports # Reformat imports imports: