mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 10:33: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 3rd-party files -->
|
||||||
<exclude-pattern>*/vendor/*</exclude-pattern>
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
||||||
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
||||||
<exclude-pattern>/plugins/*</exclude-pattern>
|
|
||||||
|
|
||||||
<!-- Exclude the wporg parent theme (for this project) -->
|
<!-- Exclude the wporg parent theme (for this project) -->
|
||||||
<exclude-pattern>/themes/pub/wporg</exclude-pattern>
|
<exclude-pattern>/themes/pub/wporg</exclude-pattern>
|
||||||
|
|
||||||
<!-- Specifically include the plugins we're working on -->
|
<!-- Exclude all plugins except our pledge plugin -->
|
||||||
<include-pattern>/plugins/wporg-5ftf</include-pattern>
|
<exclude-pattern>/plugins/(?!wporg-5ftf)</exclude-pattern>
|
||||||
|
|
||||||
<!-- Show sniff codes in all reports -->
|
<!-- Show sniff codes in all reports -->
|
||||||
<arg value="ps" />
|
<arg value="ps" />
|
||||||
|
|
Loading…
Reference in a new issue