Move formatting to gofumpt (from gofmt)

This commit is contained in:
2025-05-04 00:43:01 +02:00
parent d8092fc9d5
commit e4923b500a
3 changed files with 7 additions and 4 deletions

View File

@ -19,7 +19,7 @@ test:
go test ./...
validate:
@test -z "$(shell gofmt -l .)" || (echo "Incorrect formatting in:"; gofmt -l .; exit 1)
@test -z "$(shell gofumpt -l .)" && echo "No files need formatting" || (echo "Incorrect formatting in:"; gofumpt -l .; exit 1)
go vet ./...
clean: