Skip to content

Commit

Permalink
fixed goimports installation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Renu authored and Renu committed Dec 30, 2024
1 parent 45b56ad commit 16fe7e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ golangci-lint-check: | $(GOLANGCILINT) ; $(info $(M) Testing if golint has been
$Q $(GOLANGCILINT) run -j 1 --color=never

GOIMPORTS = $(BIN)/goimports
$(BIN)/goimports: PACKAGE=golang.org/x/tools/cmd/goimports
$(BIN)/goimports: | $(BIN) ; $(info $(M) building goimports…)
GOBIN=$(BIN) go install golang.org/x/tools/cmd/goimports@latest

.PHONY: goimports
goimports: | $(GOIMPORTS) ; $(info $(M) running goimports…) ## Run goimports
Expand Down

0 comments on commit 16fe7e4

Please sign in to comment.