Fix - Composer post-{install|update}-cmd scripts on windows

This commit is contained in:
Shiva Poudel 2016-09-16 11:02:16 +05:45
parent 34784e5dca
commit 46d95c5373
1 changed files with 2 additions and 3 deletions

View File

@ -10,15 +10,14 @@
"require-dev": { "require-dev": {
"squizlabs/php_codesniffer": "*", "squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*", "wp-coding-standards/wpcs": "*",
"wimg/php-compatibility": "*",
"simplyadmire/composer-plugins" : "@dev" "simplyadmire/composer-plugins" : "@dev"
}, },
"scripts": { "scripts": {
"post-install-cmd": [ "post-install-cmd": [
"vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs" "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs"
], ],
"post-update-cmd": [ "post-update-cmd": [
"vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs" "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs"
] ]
} }
} }