forked from WyriHaximus/reactphp-child-process-promise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 597 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 597 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: cs dunit unit
ci: cs unit-travis
ci-extended: cs unit-travis
contrib: cs dunit unit
init:
if [ ! -d vendor ]; then composer install; fi;
cs: init
./vendor/bin/phpcs --standard=PSR2 src/
unit: init
./vendor/bin/phpunit --coverage-text --coverage-html covHtml
unit-travis: init
./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
dunit: init
./vendor/bin/dunit
travis-coverage: init
if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi