-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (36 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
##
##Dev
##------------
dev: ## Start dev server
composer dev
build: ## Build
php bin/console sass:build
php bin/console asset-map:compile
docs-serve: ## Start documentation server locally
composer docs-serve
editorconfig-fixer: ## Fixes text files based on given .editorconfig declarations
composer editorconfig-fixer
infection: ## Run Infection
composer infection
php-cs-fixer: ## Check and fix coding styles using PHP CS Fixer
composer php-cs-fixer
phan: ## Run Phan
composer phan
phpcbf: ## Clean code with PHP Code Beautifier and Fixer
composer phpcbf
phpcs: ## Run PHP Code Sniffer
composer phpcs
phpmd: ## Run PHP Mess Detector
composer phpmd
phpstan: ## Execute PHPStan analysis
composer phpstan
phpunit: ## Launch PHPUnit test suite
composer phpunit
psalm: ## Run Psalm
composer psalm
# DEFAULT
.DEFAULT_GOAL := help
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/'
.PHONY: help
##