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:
Kelly Dwan 2019-10-08 11:14:38 -04:00
parent b08effbe8b
commit bb12bce7ab
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D

View file

@ -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" />