Skip to content

Commit b0d267e

Browse files
committed
feat: add draft of a possible yaml config file
1 parent 8ed08f1 commit b0d267e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

examples/.goarkitect.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
rules:
3+
- name: example
4+
kind: file
5+
matcher:
6+
name: all
7+
options:
8+
basepath: /tmp/example
9+
thats: []
10+
excepts: []
11+
shoulds:
12+
- kind: end_with
13+
suffix: file
14+
- kind: exist
15+
- kind: match_regex
16+
res: /[a-z]+/
17+
because: "it is an example"
18+
- name: makefile_exists
19+
kind: file
20+
matcher:
21+
name: one
22+
options:
23+
filename: /tmp/example/Makefile
24+
thats: []
25+
excepts: []
26+
shoulds:
27+
- kind: exist
28+
because: "it is needed to encapsulate common project operations"

0 commit comments

Comments
 (0)