-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 704 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 704 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
.PHONY: test stan mutation benchmark p99 docs docs-serve
test:
@vendor/bin/phpunit --colors --display-warnings --testdox
stan:
@vendor/bin/phpstan analyse -l max src
mutation:
@vendor/bin/infection --threads=4
benchmark:
sudo mv /etc/php/8.5/cli/conf.d/20-pcov.ini /etc/php/8.5/cli/conf.d/20-pcov.ini.bak
@vendor/bin/phpbench run --report=default --warmup=2 --output=csv > benchmarks/bench_results.csv
sudo mv /etc/php/8.5/cli/conf.d/20-pcov.ini.bak /etc/php/8.5/cli/conf.d/20-pcov.ini
p99:
@cd benchmarks && php analyze_bench.php
docs:
@./generate-docs.php
docs-serve:
@echo "Starting documentation server on http://localhost:8000"
@php -S localhost:8000 -t docs