-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (19 loc) · 752 Bytes
/
Makefile
File metadata and controls
24 lines (19 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
help: ## This help.
@grep -E '(^[a-zA-Z_-]+:.*?##.*$$)|(^##)' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[32m##/[33m/'
.DEFAULT_GOAL := help
.PHONY: help
tests: ## PHPUnit tests & code coverage
vendor/bin/simple-phpunit --colors=always --coverage-html coverage
.PHONY: tests
fix: ## PHP CS Fixer
vendor/bin/php-cs-fixer fix --diff
.PHONY: fix
fix-dry-run: ## PHP CS Fixer
vendor/bin/php-cs-fixer fix --diff --dry-run
.PHONY: fix-dry-run
lint-yaml: ## Check YAML syntax errors
tests/App/bin/console lint:yaml "tests"
.PHONY: lint-yaml
lint-xliff: ## Check XLIFF translations syntax errors
tests/App/bin/console lint:xliff "src/Resources/translations"
.PHONY: lint-xliff