mirror of
https://github.com/Icinga/L10n.git
synced 2025-07-31 01:34:20 +02:00
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
|
done
|
||||||
|
|
||||||
# Create a list of files xgettext should scan
|
# 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 \
|
xgettext --language=PHP \
|
||||||
--keyword=translate \
|
--keyword=translate \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user