mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Remove workaround for "make format"
When a new enough gofumpt version is used (v0.9.0 or later), it suports the `ignore` directive that we just added, so the workaround is no longer needed. Co-authored-by: Stefan Haller <stefan@haller-berlin.de>
This commit is contained in:
parent
76452a0bcc
commit
65c27dd8ce
4
Makefile
4
Makefile
|
|
@ -34,11 +34,9 @@ test: unit-test integration-test-all
|
|||
generate:
|
||||
go generate ./...
|
||||
|
||||
# If you execute `gofumpt -l -w .`, it will format all Go files in the current directory, including `test/_results/*` files.
|
||||
# We pass only Git-tracked Go files to gofumpt because we don't want to format the test results or get errors from it.
|
||||
.PHONY: format
|
||||
format:
|
||||
git ls-files '*.go' ':!vendor' | xargs gofumpt -l -w
|
||||
gofumpt -l -w .
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
|
|
|
|||
Loading…
Reference in a new issue