Skip to content

Commit

Permalink
update makepot command to use include vs exclude (woocommerce#46287)
Browse files Browse the repository at this point in the history
* update makepot command to use include vs exclude

* add the changelog

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
  • Loading branch information
rrennick and Ron Rennick authored Apr 10, 2024
1 parent 618221e commit d94ed1a
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions plugins/woocommerce/changelog/fix-38192
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

update makepot command to use include vs exclude
2 changes: 1 addition & 1 deletion plugins/woocommerce/composer.json
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@
"phpcbf -p"
],
"makepot-audit": [
"wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,sample-data,node_modules,tests\" --slug=woocommerce"
"wp --allow-root i18n make-pot . --include=\"woocommerce.php,client,i18n,includes,lib,packages,patterns,src,templates\" --slug=woocommerce"
],
"makepot": [
"@makepot-audit --skip-audit"

0 comments on commit d94ed1a

Please sign in to comment.