Skip to content

Commit

Permalink
feat(Makefile): run goimports on gofmt-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Oct 9, 2024
1 parent ed81318 commit c07f1fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ gofmt: ## Tells you what files need to be gofmt'd.

gofmt-fix: ## Fixes files that need to be gofmt'd.
gofmt -s -w $(shell find . -not \( \( -wholename '*/vendor/*' \) -prune \) -name '*.go')
goimports -w $(shell find . -not \( \( -wholename '*/vendor/*' \) -prune \) -name '*.go')

# List of all file_moq.go files which would need to be regenerated
# from file.go if changed
Expand Down

0 comments on commit c07f1fd

Please sign in to comment.