-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (32 loc) · 1.09 KB
/
Makefile
File metadata and controls
41 lines (32 loc) · 1.09 KB
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
install:
composer install
validate:
composer validate
autoload:
composer dump-autoload
require:
composer require
lint:
composer exec --verbose phpcs -- --standard=PSR12 src bin tests
lint-fix:
composer lint-fix
test:
composer exec --verbose phpunit tests
test-coverage:
XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-clover=build/logs/clover.xml
test-coverage-text:
XDEBUG_MODE=coverage composer exec --verbose phpunit tests -- --coverage-text
test1:
php ./bin/gendiff ./tests/fixtures/file1.yaml ./tests/fixtures/file2.yaml
test2:
php ./bin/gendiff ./tests/fixtures/file1.json ./tests/fixtures/file2.json
test3:
php ./bin/gendiff ./tests/fixtures/file1.json ./tests/fixtures/file2.yaml
test4:
php ./bin/gendiff ./tests/fixtures/file1.json ./tests/fixtures/file2.json --format plain
test5:
php ./bin/gendiff ./tests/fixtures/file1.yaml ./tests/fixtures/file2.yaml --format plain
test6:
php ./bin/gendiff ./tests/fixtures/file1.yaml ./tests/fixtures/file2.yaml --format json
test7:
php ./bin/gendiff ./tests/fixtures/file1.json ./tests/fixtures/file2.json --format json