Skip to content

Commit

Permalink
change filename
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 6, 2025
1 parent 13d1afa commit e4a93d3
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .mockery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all: True
dir: "{{.InterfaceDirRelative}}"
mockname: "Mock{{.InterfaceName}}"
pkgname: "{{.SrcPackageName}}"
filename: "mocks_test.go"
filename: "mocks_{{.SrcPackageName}}_test.go"
template-data:
boilerplate-file: "./.boilerplate.txt"
packages:
Expand Down Expand Up @@ -46,6 +46,5 @@ packages:
config:
all: True
dir: internal/fixtures/
filename: mocks_io_test.go
pkgname: test

2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tasks:
mocks.remove:
desc: remove all mock files
cmds:
- find . -name '*_mock.go' -o -name 'mock_*_test.go' -o -name 'mocks.go' -o -name "mocks_moq.go" -o -name 'mocks_test.go' -o -name 'mocks_moq_test.go' | xargs -r rm
- find . -name '*_mock.go' -o -name 'mock_*_test.go' -o -name 'mocks.go' -o -name "mocks_moq.go" -o -name 'mocks_test.go' -o -name 'mocks_moq_test.go' -o -name 'mocks_*_test.go' | xargs -r rm
- rm -rf mocks/

mocks.generate.mockery:
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e4a93d3

Please sign in to comment.