added composer scripts like in cake 3

This commit is contained in:
Val Bancer 2017-07-10 23:12:35 +02:00
parent edcea59334
commit bdb8e9b6d5

View file

@ -30,5 +30,13 @@
}, },
"bin": [ "bin": [
"lib/Cake/Console/cake" "lib/Cake/Console/cake"
] ],
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "./vendors/bin/phpcs -p --extensions=php --standard=CakePHP ./lib/Cake",
"test": "./lib/Cake/Console/cake test core AllTests --stderr"
}
} }