-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdepfile.yaml
50 lines (49 loc) · 1.14 KB
/
depfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## see https://github.com/ferrius/ddd-cqrs-example/blob/master/depfile.yaml
paths:
- ./src
exclude_files:
- .*tests.*
layers:
- name: SharedDomain
collectors:
- type: className
regex: .*App\\Shared\\Domain\\.*
- name: SharedApplication
collectors:
- type: className
regex: .*App\\Shared\\Application\\.*
- name: SharedInfrastructure
collectors:
- type: className
regex: .*App\\Shared\\Infrastructure\\.*
- name: CoreDomain
collectors:
- type: className
regex: .*App\\Core\\Domain\\.*
- name: CoreApplication
collectors:
- type: className
regex: .*App\\Core\\Application\\.*
- name: CoreInfrastructure
collectors:
- type: className
regex: .*App\\Core\\Infrastructure\\.*
ruleset:
SharedDomain: ~
SharedApplication:
- SharedDomain
SharedInfrastructure:
- SharedDomain
- SharedApplication
CoreDomain:
- SharedDomain
CoreApplication:
- SharedDomain
- SharedApplication
- CoreDomain
CoreInfrastructure:
- SharedDomain
- SharedApplication
- SharedInfrastructure
- CoreDomain
- CoreApplication