forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable gomods (smartcontractkit#14042)
- Loading branch information
Showing
1 changed file
with
5 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,12 +27,8 @@ gomod: ## Ensure chainlink's go dependencies are installed. | |
go mod download | ||
|
||
.PHONY: gomodtidy | ||
gomodtidy: ## Run go mod tidy on all modules. | ||
go mod tidy | ||
cd ./core/scripts && go mod tidy | ||
cd ./integration-tests && go mod tidy | ||
cd ./integration-tests/load && go mod tidy | ||
cd ./dashboard-lib && go mod tidy | ||
gomodtidy: gomods ## Run go mod tidy on all modules. | ||
gomods tidy | ||
|
||
.PHONY: docs | ||
docs: ## Install and run pkgsite to view Go docs | ||
|
@@ -89,12 +85,8 @@ abigen: ## Build & install abigen. | |
./tools/bin/build_abigen | ||
|
||
.PHONY: generate | ||
generate: abigen codecgen mockery protoc ## Execute all go:generate commands. | ||
go generate -x ./... | ||
cd ./core/scripts && go generate -x ./... | ||
cd ./integration-tests && go generate -x ./... | ||
cd ./integration-tests/load && go generate -x ./... | ||
cd ./dashboard-lib && go generate -x ./... | ||
generate: abigen codecgen mockery protoc gomods ## Execute all go:generate commands. | ||
gomods -w go generate -x ./... | ||
mockery | ||
|
||
.PHONY: rm-mocked | ||
|
@@ -136,7 +128,7 @@ presubmit: ## Format go files and imports. | |
|
||
.PHONY: gomods | ||
gomods: ## Install gomods | ||
go install github.com/jmank88/[email protected].1 | ||
go install github.com/jmank88/[email protected].3 | ||
|
||
.PHONY: mockery | ||
mockery: $(mockery) ## Install mockery. | ||
|