Skip to content

Commit 1a29933

Browse files
committed
Lint "*.xlf" files
1 parent 459d1ff commit 1a29933

17 files changed

Lines changed: 3346 additions & 3348 deletions

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ lint-yaml:
2727
.PHONY: lint-yaml
2828

2929
lint-xml:
30-
find . \( -name '*.xml' -or -name '*.xliff' \) \
30+
find . \( -name '*.xml' -or -name '*.xliff' -or -name '*.xlf' \) \
3131
-not -path './vendor/*' \
32-
-not -path './src/Resources/public/vendor/*' \
3332
| while read xmlFile; \
3433
do \
3534
XMLLINT_INDENT=' ' xmllint --encode UTF-8 --format "$$xmlFile"|diff - "$$xmlFile"; \
@@ -50,9 +49,8 @@ cs-fix-php:
5049
.PHONY: cs-fix-php
5150

5251
cs-fix-xml:
53-
find . \( -name '*.xml' -or -name '*.xliff' \) \
52+
find . \( -name '*.xml' -or -name '*.xliff' -or -name '*.xlf' \) \
5453
-not -path './vendor/*' \
55-
-not -path './src/Resources/public/vendor/*' \
5654
| while read xmlFile; \
5755
do \
5856
XMLLINT_INDENT=' ' xmllint --encode UTF-8 --format "$$xmlFile" --output "$$xmlFile"; \

0 commit comments

Comments
 (0)