summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-12-03 01:30:04 +0100
committerRobin Jarry <robin@jarry.cc>2022-12-03 01:30:42 +0100
commitbe8154d1a77c9dce313a94e51e1b5bea7a21d7b7 (patch)
tree63a302db2f56f3af8251792c3811e16f8a1ddf3f
parenteffff93eef5f0789428a78894c8d7d3cf9f35d1d (diff)
downloadaerc-be8154d1a77c9dce313a94e51e1b5bea7a21d7b7.tar.gz
aerc-be8154d1a77c9dce313a94e51e1b5bea7a21d7b7.zip
mk: display formatting diffs
It may help understanding what is currently going on with go 1.19. Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2791166c..8e1c89bd 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ fmt:
.PHONY: lint
lint:
@contrib/check-whitespace `git ls-files` && echo white space ok.
- @$(GO) run mvdan.cc/gofumpt -l . | grep ^ \
+ @$(GO) run mvdan.cc/gofumpt -d . | grep ^ \
&& echo The above files need to be formatted, please run make fmt && exit 1 \
|| echo all files formatted.
$(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint run