Skip to content

Commit fdedf1b

Browse files
committed
Makefile: fix gofumpt flag
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent ab2b431 commit fdedf1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ lint/gojay: fmt/gojay lint/golangci-lint/gojay
8888
fmt: tools/goimportz tools/gofumpt ## Run goimportz and gofumpt.
8989
$(call target)
9090
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/goimportz -local=${PKG},$(subst /protocol,,$(PKG)) -w
91-
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/gofumpt -s -extra -w
91+
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/gofumpt -extra -w
9292

9393
.PHONY: fmt/gojay
9494
fmt/gojay: tools/goimportz tools/gofumpt
9595
$(call target)
9696
@export GOFLAGS=-tags=gojay
9797
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/goimportz -local=${PKG},$(subst /protocol,,$(PKG)) -w
98-
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/gofumpt -s -extra -w
98+
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/gofumpt -extra -w
9999

100100
.PHONY: lint/golangci-lint
101101
lint/golangci-lint: tools/golangci-lint .golangci.yml ## Run golangci-lint.

0 commit comments

Comments
 (0)