NOISSUE - Simplify generated mocks check

Signed-off-by: Dusan Borovcanin <borovcanindusan1@gmail.com>
This commit is contained in:
Dusan Borovcanin
2025-04-01 19:10:33 +02:00
parent 0b19ac9f65
commit dd1df566c7
2 changed files with 1 additions and 5 deletions
-5
View File
@@ -113,11 +113,6 @@ install:
mocks:
@which mockery > /dev/null || go install github.com/vektra/mockery/v3@$(MOCKERY_VERSION)
rm -r pkg/sdk/mocks \
bootstrap/mocks \
consumers/notifiers/mocks \
re/mocks \
provision/mocks
mockery --config ./tools/config/.mockery.yaml
+1
View File
@@ -5,6 +5,7 @@ template: testify
mockname: "{{.InterfaceName}}"
filename: "{{snakecase .InterfaceName}}.go"
dir: "{{.InterfaceDirRelative}}/mocks"
force-file-write: true
template-data:
boilerplate-file: ./tools/config/boilerplate.txt
with-expecter: true