From 368fb33be1f61d9b4905f0cb42c30991b5a8b089 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 24 Apr 2020 15:40:37 +0200 Subject: [PATCH] bin/update: Ignore test files when creating the catalog --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update b/bin/update index bb836251..6a07fa12 100755 --- a/bin/update +++ b/bin/update @@ -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 \