Skip to content

Commit

Permalink
build: add mock goal
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Jan 7, 2023
1 parent 01253ac commit 89e5805
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,13 @@ doc-command: ## Generate markdown documentation for the command
-w /usr/src/docs \
${DOCKER_IMAGE_MARKDOWNLINT} -f $$OUT_FOLDER

## Mock:
.PHONY: mock
mock: ## Generate all the mocks (for tests)
@echo "${COLOR_CYAN} 🧱 Generating all the mocks${COLOR_RESET}"
@go install github.com/golang/mock/mockgen@v1.6.0
@mockgen -source=x/logic/testutil/expected_keepers.go -package testutil -destination x/logic/testutil/expected_keepers_mocks.go

## Release:
.PHONY: release-assets
release-assets: release-binary-all release-checksums ## Generate release assets
Expand Down

0 comments on commit 89e5805

Please sign in to comment.