-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use gomods; update generated; add CI check for tidy+generate
- Loading branch information
Showing
8 changed files
with
93 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,12 +130,25 @@ format-go-fmt: | |
cd ./ops && go fmt ./... | ||
cd ./integration-tests && go fmt ./... | ||
|
||
.PHONY: gomods | ||
gomods: ## Install gomods | ||
go install github.com/jmank88/[email protected] | ||
|
||
.PHONY: gomodtidy | ||
gomodtidy: | ||
cd ./relayer && go mod tidy | ||
cd ./monitoring && go mod tidy | ||
cd ./ops && go mod tidy | ||
cd ./integration-tests && go mod tidy | ||
gomodtidy: gomods | ||
gomods tidy | ||
|
||
.PHONY: mockery | ||
mockery: $(mockery) ## Install mockery. | ||
go install github.com/vektra/mockery/[email protected] | ||
|
||
.PHONY: rm-mocked | ||
rm-mocked: | ||
grep -rl "^// Code generated by mockery" | grep .go$ | xargs -r rm | ||
|
||
.PHONY: generate | ||
generate: mockery gomods | ||
gomods -w go generate -x ./... | ||
|
||
.PHONY: format-cairo | ||
format-cairo: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.