-
Notifications
You must be signed in to change notification settings - Fork 323
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 909 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (26 loc) · 909 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
25
26
27
28
29
30
31
32
33
34
install:
composer update
composer bin all update
test:
vendor/bin/phpunit
static: static-phpstan static-codestyle-check static-composer-normalize-check
static-phpstan:
composer install
composer bin phpstan update
vendor/bin/phpstan analyze $(PHPSTAN_PARAMS)
static-phpstan-update-baseline:
composer install
composer bin phpstan update
$(MAKE) static-phpstan PHPSTAN_PARAMS="--generate-baseline"
static-codestyle-fix:
composer install
composer bin php-cs-fixer update
vendor/bin/php-cs-fixer fix --diff $(CS_PARAMS)
static-codestyle-check:
$(MAKE) static-codestyle-fix CS_PARAMS="--dry-run"
static-composer-normalize-fix:
composer install
composer bin composer-normalize update
composer bin composer-normalize normalize --diff $(COMPOSER_NORMALIZE_PARAMS) ../../composer.json
static-composer-normalize-check:
$(MAKE) static-composer-normalize-fix COMPOSER_NORMALIZE_PARAMS="--dry-run"