Skip to content

Commit 32a3f72

Browse files
committed
Makefile: remove fmt target deps on lint
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent 49f56ff commit 32a3f72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ coverage: tools/bin/gotestsum ## Takes packages test coverage.
6363

6464
##@ fmt, lint
6565

66-
.PHONY: lint
67-
lint: fmt lint/golangci-lint ## Run all linters.
68-
6966
.PHONY: fmt
7067
fmt: tools/goimportz tools/gofumpt ## Run goimportz and gofumpt.
7168
$(call target)
7269
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/goimportz -local=${PKG},$(subst /protocol,,$(PKG)) -w
7370
find . -iname "*.go" -not -path "./vendor/**" | xargs -P ${JOBS} ${TOOLS_BIN}/gofumpt -extra -w
7471

72+
.PHONY: lint
73+
lint: lint/golangci-lint ## Run all linters.
74+
7575
.PHONY: lint/golangci-lint
7676
lint/golangci-lint: tools/golangci-lint .golangci.yml ## Run golangci-lint.
7777
$(call target)

0 commit comments

Comments
 (0)