forked from Unity-Technologies/Graphics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.repoconfig
33 lines (31 loc) · 778 Bytes
/
.repoconfig
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
[version]
repoconfig=5
[format]
path-ignore=<<EOT
# rooted folder paths
(^|/)(
.github
|.yamato
|artifacts
|imgs
|LocalTestProjects
|TestProjects
|Tools
|com\.unity\.testing\..*
)(/|$)
|
# rooted file paths
^(
build\.py
|.*\.md
)$
EOT
[verify]
path=<<EOT
# general rule
^[:a-z0-9./_-]+$ # technically ':' not allowed, but let the global rule in format.ini do the more thorough test for c: style abs paths
# exceptions
|^com\.unity\.[^\/]*\/\w+~\/ # allows editor excluded folders, like Documentation~, for core package
|^com\.unity\.[^\/]*\/Packages\/com\.unity\.[^\/]*\/\w+~\/ # as above but for embedded packages
|^com\.unity\.[^\/]*\/[^@]+@\d+x\. # industry standard for icons with differnet resolution
EOT