mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-26 16:57:18 +00:00
added composer scripts like in cake 3
This commit is contained in:
parent
edcea59334
commit
bdb8e9b6d5
1 changed files with 9 additions and 1 deletions
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue