Make Composer scripts compatible with Windows

Windows does not like the "./" syntax
This commit is contained in:
Frank Liepert 2018-03-07 20:04:19 +01:00
parent 9ffbd98cc6
commit d8f4a28b94
1 changed files with 6 additions and 6 deletions

View File

@ -36,19 +36,19 @@
], ],
"scripts": { "scripts": {
"test": [ "test": [
"./vendor/bin/phpunit --color=always" "phpunit --color=always"
], ],
"test-no-coverage": [ "test-no-coverage": [
"./vendor/bin/phpunit --color=always --no-coverage" "phpunit --color=always --no-coverage"
], ],
"check": [ "check": [
"./vendor/bin/php-cs-fixer fix --ansi --dry-run --diff", "php-cs-fixer fix --ansi --dry-run --diff",
"./vendor/bin/phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=src/PhpWord/Shared/PCLZip --standard=PSR2 -n", "phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=src/PhpWord/Shared/PCLZip --standard=PSR2 -n",
"./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php", "phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php",
"@test" "@test"
], ],
"fix": [ "fix": [
"./vendor/bin/php-cs-fixer fix --ansi" "php-cs-fixer fix --ansi"
] ]
}, },
"scripts-descriptions": { "scripts-descriptions": {