Skip to content

Commit

Permalink
Add a test in Makefile for xliff files
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiot committed Jan 13, 2019
1 parent 6e65197 commit 4dcc545
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -103,14 +103,17 @@ 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

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

Expand Down

0 comments on commit 4dcc545

Please sign in to comment.