Add composer scripts and box file

Cette révision appartient à :
Florian Brinker 2021-05-09 23:23:28 +02:00
Parent 8d452cf62b
révision cece9d0d02
2 fichiers modifiés avec 19 ajouts et 0 suppressions

5
box.json Fichier normal
Voir le fichier

@ -0,0 +1,5 @@
{
"base-path": null,
"output": "build/extension-check.phar",
"chmod": "0700"
}

Voir le fichier

@ -43,5 +43,19 @@
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"check": [
"./vendor/bin/phpcbf",
"./vendor/bin/phpcs",
"./vendor/bin/phpstan analyse"
],
"test" : [
"./vendor/bin/phpunit tests"
]
},
"scripts-descriptions": {
"check": "Check the sources for problems and style violations",
"test": "Run all tests"
}
}