mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Use go tool gofumpt for make format
This way it always uses our pinned 0.9.2 version.
This commit is contained in:
parent
659908195e
commit
2d4a4dcdc1
|
|
@ -18,7 +18,7 @@ Windows box has only `just`).
|
|||
list and the keybinding cheatsheets in `docs-master/keybindings/`). Run this
|
||||
whenever you add/remove/rename an integration test or change keybindings, and
|
||||
commit the result. CI fails if these are stale.
|
||||
- `just format` — `gofumpt -l -w .`. Run before every commit.
|
||||
- `just format` — `go tool gofumpt -l -w .`. Run before every commit.
|
||||
- `just build` — build the binary.
|
||||
- `just unit-test` — `go test ./... -short`.
|
||||
- `just e2e` — run all integration tests headlessly; `just e2e <name>` runs a
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -36,7 +36,7 @@ generate:
|
|||
|
||||
.PHONY: format
|
||||
format:
|
||||
gofumpt -l -w .
|
||||
go tool gofumpt -l -w .
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
|
|
|
|||
Loading…
Reference in a new issue