bin/update: Ignore test files when creating the catalog

This commit is contained in:
Johannes Meyer 2020-04-24 15:40:37 +02:00
parent 537679554f
commit 368fb33be1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ for repo_name in "${SOURCE_REPOSITORIES[@]}"; do
done
# Create a list of files xgettext should scan
find -L . -regex ".*\.\(php\|phtml\)" ! -path "*/vendor/*" > catalog.txt
find -L . -regex ".*\.\(php\|phtml\)" ! -path "*/vendor/*" ! -path "*/test/*" > catalog.txt
xgettext --language=PHP \
--keyword=translate \