forked from built-fast/phpstan-sensitive-parameter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 989 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (31 loc) · 989 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
35
36
37
38
39
40
41
.PHONY: help install update test test-coverage pint pint-test stan check ci clean
help:
@echo "Available targets:"
@echo " install Install composer dependencies"
@echo " update Update composer dependencies"
@echo " test Run the test suite (Pest)"
@echo " test-coverage Run the test suite with coverage report"
@echo " pint Fix code style (Laravel Pint)"
@echo " pint-test Check code style without fixing"
@echo " stan Run static analysis (PHPStan)"
@echo " check Run pint-test and stan (no tests)"
@echo " ci Run test, pint-test and stan (mirrors CI)"
@echo " clean Remove vendor and lock file"
install:
composer install
update:
composer update
test:
vendor/bin/pest
test-coverage:
vendor/bin/pest --coverage
pint:
vendor/bin/pint
pint-test:
vendor/bin/pint --test
stan:
vendor/bin/phpstan analyze
check: pint-test stan
ci: test pint-test stan
clean:
rm -rf vendor composer.lock