Merge pull request #1306 from Trainmaster/feature-make-composer-scripts-compatible-with-windows

Make Composer scripts compatible with Windows
This commit is contained in:
troosan 2018-03-07 21:19:56 +01:00 committed by GitHub
commit 9affbf4ecf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

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