Skip to content

Commit 4dcc545

Browse files
committed
Add a test in Makefile for xliff files
1 parent 6e65197 commit 4dcc545

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PHPCSFIXER?=$(EXEC) php -d memory_limit=1024m vendor/bin/php-cs-fixer
77
.PHONY: help start stop restart install uninstall reset clear-cache tty clear clean
88
.PHONY: db-diff db-migrate db-rollback db-reset db-validate wait-for-db
99
.PHONY: watch assets assets-build
10-
.PHONY: tests lint lint-symfony lint-yaml lint-twig php-cs php-cs-fix security-check test-schema test-all
10+
.PHONY: tests lint lint-symfony lint-yaml lint-twig lint-twig php-cs php-cs-fix security-check test-schema test-all
1111
.PHONY: deps
1212
.PHONY: build up perm
1313
.PHONY: docker-compose.override.yml
@@ -103,14 +103,17 @@ tests:
103103

104104
lint: lint-symfony php-cs ## Run lint on Twig, YAML, PHP and Javascript files
105105

106-
lint-symfony: lint-yaml lint-twig ## Lint Symfony (Twig and YAML) files
106+
lint-symfony: lint-yaml lint-twig lint-xliff ## Lint Symfony (Twig and YAML) files
107107

108108
lint-yaml: ## Lint YAML files
109109
$(EXEC) $(CONSOLE) lint:yaml config
110110

111111
lint-twig: ## Lint Twig files
112112
$(EXEC) $(CONSOLE) lint:twig templates
113113

114+
lint-xliff: ## Lint Translation files
115+
$(EXEC) $(CONSOLE) lint:xliff translations
116+
114117
php-cs: vendor ## Lint PHP code
115118
$(PHPCSFIXER) fix --diff --dry-run --no-interaction -v
116119

0 commit comments

Comments
 (0)