diff --git a/Makefile b/Makefile index 02529a1e9..839935e95 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PHPCSFIXER?=$(EXEC) php -d memory_limit=1024m vendor/bin/php-cs-fixer .PHONY: help start stop restart install uninstall reset clear-cache tty clear clean .PHONY: db-diff db-migrate db-rollback db-reset db-validate wait-for-db .PHONY: watch assets assets-build -.PHONY: tests lint lint-symfony lint-yaml lint-twig php-cs php-cs-fix security-check test-schema test-all +.PHONY: tests lint lint-symfony lint-yaml lint-twig lint-twig php-cs php-cs-fix security-check test-schema test-all .PHONY: deps .PHONY: build up perm .PHONY: docker-compose.override.yml @@ -103,7 +103,7 @@ tests: lint: lint-symfony php-cs ## Run lint on Twig, YAML, PHP and Javascript files -lint-symfony: lint-yaml lint-twig ## Lint Symfony (Twig and YAML) files +lint-symfony: lint-yaml lint-twig lint-xliff ## Lint Symfony (Twig and YAML) files lint-yaml: ## Lint YAML files $(EXEC) $(CONSOLE) lint:yaml config @@ -111,6 +111,9 @@ lint-yaml: lint-twig: ## Lint Twig files $(EXEC) $(CONSOLE) lint:twig templates +lint-xliff: ## Lint Translation files + $(EXEC) $(CONSOLE) lint:xliff translations + php-cs: vendor ## Lint PHP code $(PHPCSFIXER) fix --diff --dry-run --no-interaction -v