diff --git a/AGENTS.md b/AGENTS.md index 7bed30c6c..58e0a38f3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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 ` runs a diff --git a/Makefile b/Makefile index 38dc118cb..6b51d5250 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ generate: .PHONY: format format: - gofumpt -l -w . + go tool gofumpt -l -w . .PHONY: lint lint: diff --git a/justfile b/justfile index c6785b933..7909cb2d6 100644 --- a/justfile +++ b/justfile @@ -34,7 +34,7 @@ generate: go generate ./... format: - gofumpt -l -w . + go tool gofumpt -l -w . lint: ./scripts/golangci-lint-shim.sh run