We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b97230 commit 5c38de9Copy full SHA for 5c38de9
Makefile
@@ -0,0 +1,21 @@
1
+all: cs unit
2
+travis: cs travis-unit
3
+contrib: cs unit
4
+
5
+init:
6
+ if [ ! -d vendor ]; then composer install; fi;
7
8
+cs: init
9
+ ./vendor/bin/phpcs --standard=PSR2 src/
10
11
+unit: init
12
+ ./vendor/bin/phpunit --coverage-text --coverage-html covHtml
13
14
+travis-unit: init
15
+ ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
16
17
+travis-coverage: init
18
+ 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
19
20
+generate-resources: init
21
+ ./vendor/bin/api-client-resource-generator ./resources.yml
0 commit comments