Skip to content

Commit

Permalink
feat: add draft of a possible yaml config file
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Aug 8, 2022
1 parent 8ed08f1 commit b0d267e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions examples/.goarkitect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
rules:
- name: example
kind: file
matcher:
name: all
options:
basepath: /tmp/example
thats: []
excepts: []
shoulds:
- kind: end_with
suffix: file
- kind: exist
- kind: match_regex
res: /[a-z]+/
because: "it is an example"
- name: makefile_exists
kind: file
matcher:
name: one
options:
filename: /tmp/example/Makefile
thats: []
excepts: []
shoulds:
- kind: exist
because: "it is needed to encapsulate common project operations"

0 comments on commit b0d267e

Please # to comment.