forked from supseven-at/cleverreach
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (16 loc) · 713 Bytes
/
Makefile
File metadata and controls
24 lines (16 loc) · 713 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
PHP_BIN ?= php
install: vendor/autoload.php
test: vendor/autoload.php
$(PHP_BIN) vendor/bin/phpunit --configuration phpunit.xml
coverage: vendor/autoload.php
rm -rf reports
$(PHP_BIN) vendor/bin/phpunit --configuration phpunit.xml --coverage-html reports
lint: vendor/autoload.php
$(PHP_BIN) vendor/bin/php-cs-fixer check --config=.php-cs-fixer.php --diff -vvv
fix: vendor/autoload.php
$(PHP_BIN) vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff -vvv
vendor/autoload.php: composer.json composer.lock
composer install --prefer-dist --no-interaction --ansi --no-progress --no-plugins --no-scripts
touch vendor/autoload.php
clean:
rm -rf vendor .php-cs-fixer.cache .phpunit.result.cache