We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8741be8 commit 4288a1cCopy full SHA for 4288a1c
Makefile
@@ -1,23 +1,29 @@
1
.PHONY: check
2
check: lint cs tests phpstan
3
4
+vendor:
5
+ composer install;
6
+
7
+build-cs/vendor:
8
+ composer install --working-dir build-cs
9
10
.PHONY: tests
-tests:
11
+tests: vendor
12
php vendor/bin/phpunit
13
14
.PHONY: lint
-lint:
15
+lint: vendor
16
php vendor/bin/parallel-lint --colors --show-deprecated \
17
src tests
18
19
.PHONY: cs
-cs:
- composer install --working-dir build-cs && php build-cs/vendor/bin/phpcs
20
+cs: build-cs/vendor
21
+ php build-cs/vendor/bin/phpcs
22
23
.PHONY: cs-fix
-cs-fix:
- vendor/bin/phpcbf
24
+cs-fix: build-cs/vendor
25
+ build-cs/vendor/bin/phpcbf
26
27
.PHONY: phpstan
-phpstan:
28
+phpstan: vendor
29
php vendor/bin/phpstan analyse -l 9 -c phpstan.neon src tests
0 commit comments