-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (42 loc) · 956 Bytes
/
Makefile
File metadata and controls
56 lines (42 loc) · 956 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
PHP=docker compose exec php
.PHONY: up
up:
docker compose up -d --build
.PHONY: down
down:
docker compose down
.PHONY: logs
logs:
docker compose logs -f
.PHONY: install
install:
$(PHP) composer install --no-interaction
.PHONY: cs-fixer-ci
cs-fixer-ci:
$(PHP) bin/php-cs-fixer fix --dry-run -v --diff
.PHONY: cs-fixer
cs-fixer:
$(PHP) bin/php-cs-fixer fix -v
.PHONY: test-coverage
test-coverage:
$(PHP) bin/phpunit --coverage-text --testdox
.PHONY: test
test:
$(PHP) bin/phpunit --testdox
.PHONY: phpstan
phpstan:
$(PHP) bin/phpstan analyse -v --memory-limit=1G
.PHONY: before-push
before-push: cs-fixer test phpstan
.PHONY: check-src-deps
check-src-deps:
$(PHP) vendor/maglnet/composer-require-checker/bin/composer-require-checker check --config-file=.composer-require-checker.json
.PHONY: rector
rector:
$(PHP) bin/rector process
.PHONY: bash
bash:
@$(PHP) bash
.PHONY: benchmark
benchmark:
$(PHP) php benchmark/read-stream.php