[#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 <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2025-03-04 12:54:12 +03:00
parent 25102d1e1a
commit deaae4d37a
Signed by: a-savchuk
GPG key ID: 70C0A7FF6F9C4639

View file

@ -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: