mirror of https://github.com/Icinga/L10n.git
bin/update: Ignore test files when creating the catalog
This commit is contained in:
parent
537679554f
commit
368fb33be1
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue