diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-07-25 16:24:03 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-09-09 14:06:29 +0300 |
commit | d08da349a24cb0ec322eae287fcc27ce8730bba9 (patch) | |
tree | 0b64732f5c98725a9ab60e8e7e118d455877c788 /Makefile.build.mk | |
parent | 6b9b03db88911c9939d5fc1d92d4b15912cc7665 (diff) |
test: update source mock to use mockgen
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index 3d13f47a..c3294ffe 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -11,6 +11,7 @@ setup: .GOPATH/.ok generate-mocks: .GOPATH/.ok $Q bin/mockgen -source=internal/interface.go -destination=internal/mocks/mocks.go -package=mocks + $Q bin/mockgen -source=internal/source/source.go -destination=internal/mocks/source.go -package=mocks build: .GOPATH/.ok $Q GOBIN=$(CURDIR)/bin go install $(if $V,-v) $(VERSION_FLAGS) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) |