Skip to content

Commit

Permalink
standardize make gomodtidy
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Feb 6, 2024
1 parent 4bb04c9 commit 8141bfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,16 @@ build-go-integration-tests:
cd integration-tests/ && go build ./...

.PHONY: format-go
format-go: format-go-fmt format-go-mod-tidy
format-go: format-go-fmt gomodtidy

.PHONY: format-go-fmt
format-go-fmt:
cd ./pkg && go fmt ./...
cd ./ops && go fmt ./...
cd ./integration-tests && go fmt ./...

.PHONY: format-go-mod-tidy
format-go-mod-tidy:
.PHONY: gomodtidy
gomodtidy:
go mod tidy
cd ./ops && go mod tidy
cd ./integration-tests && go mod tidy
Expand Down

0 comments on commit 8141bfb

Please sign in to comment.