mirror of
https://codeberg.org/crowci/crow.git
synced 2025-04-18 04:44:01 +03:00
- `mockery` can now be run in one call instead of multiple ones - Use the recommended "packages" approach which will be the new default moving forward - Enforce consistent naming of mock files - Remove warnings when invoking `mockery` - Get rid of *many* linter warnings 🎉️ Reviewed-on: https://codeberg.org/crowci/crow/pulls/38 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com>
16 lines
305 B
YAML
16 lines
305 B
YAML
---
|
|
with-expecter: true
|
|
packages:
|
|
codeberg.org/crowci/crow/v3:
|
|
config:
|
|
recursive: true
|
|
|
|
inpackage: false
|
|
filename: 'mock_{{.InterfaceName}}.go'
|
|
dir: '{{.InterfaceDir}}/mocks'
|
|
outpkg: '{{.PackageName}}'
|
|
mockname: 'Mock{{.InterfaceName}}'
|
|
all: true
|
|
resolve-type-alias: false
|
|
issue-845-fix: true
|