mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-19 01:43:44 +03:00
Fix exclude/include patterns
Using include + exclude was accidentally excluding the whole plugin directory. Instead, use only exclude and exclude everything but our plugin.
This commit is contained in:
parent
b08effbe8b
commit
bb12bce7ab
|
@ -17,13 +17,12 @@
|
|||
<!-- Exclude 3rd-party files -->
|
||||
<exclude-pattern>*/vendor/*</exclude-pattern>
|
||||
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
||||
<exclude-pattern>/plugins/*</exclude-pattern>
|
||||
|
||||
<!-- Exclude the wporg parent theme (for this project) -->
|
||||
<exclude-pattern>/themes/pub/wporg</exclude-pattern>
|
||||
|
||||
<!-- Specifically include the plugins we're working on -->
|
||||
<include-pattern>/plugins/wporg-5ftf</include-pattern>
|
||||
<!-- Exclude all plugins except our pledge plugin -->
|
||||
<exclude-pattern>/plugins/(?!wporg-5ftf)</exclude-pattern>
|
||||
|
||||
<!-- Show sniff codes in all reports -->
|
||||
<arg value="ps" />
|
||||
|
|
Loading…
Reference in a new issue