-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract a common makefile for multinode and chains. (#14)
- Loading branch information
1 parent
f9ffc7e
commit 466bfbb
Showing
3 changed files
with
11 additions
and
29 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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
.PHONY: gomods | ||
gomods: ## Install gomods | ||
go install github.com/jmank88/[email protected].3 | ||
go install github.com/jmank88/[email protected].5 | ||
|
||
.PHONY: gomodtidy | ||
gomodtidy: gomods | ||
gomods tidy | ||
|
||
.PHONY: lint-workspace lint | ||
GOLANGCI_LINT_VERSION := 1.62.2 | ||
GOLANGCI_LINT_COMMON_OPTS := --max-issues-per-linter 0 --max-same-issues 0 | ||
GOLANGCI_LINT_DIRECTORY := ./golangci-lint | ||
.PHONY: mockery | ||
mockery: $(mockery) ## Install mockery. | ||
go install github.com/vektra/mockery/[email protected] | ||
|
||
lint-workspace: | ||
@./script/lint.sh $(GOLANGCI_LINT_VERSION) "$(GOLANGCI_LINT_COMMON_OPTS)" $(GOLANGCI_LINT_DIRECTORY) | ||
.PHONY: generate | ||
generate: mockery | ||
find . -type f -name .mockery.yaml -execdir mockery \; ## Execute mockery for all .mockery.yaml files | ||
|
||
lint: | ||
@./script/lint.sh $(GOLANGCI_LINT_VERSION) "$(GOLANGCI_LINT_COMMON_OPTS)" $(GOLANGCI_LINT_DIRECTORY) "--new-from-rev=origin/main" | ||
.PHONY: rm-mocked | ||
rm-mocked: | ||
grep -rl "^// Code generated by mockery" | grep .go$ | xargs -r rm |
This file was deleted.
Oops, something went wrong.