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 b347b66 commit e3fac13
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 @@ format: format-go format-cairo format-ts
format-check: format-cairo-check format-ts-check

.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 ./relayer && go fmt ./...
cd ./ops && go fmt ./...
cd ./integration-tests && go fmt ./...

.PHONY: format-go-mod-tidy
format-go-mod-tidy:
.PHONY: gomodtidy
gomodtidy:
cd ./relayer && go mod tidy
cd ./monitoring && go mod tidy
cd ./ops && go mod tidy
Expand Down

0 comments on commit e3fac13

Please sign in to comment.