From bdb8e9b6d5fc0c7490de803654a484044cf31e54 Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Mon, 10 Jul 2017 23:12:35 +0200 Subject: [PATCH] added composer scripts like in cake 3 --- composer.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5b3a2624f..3fa7dd20a 100644 --- a/composer.json +++ b/composer.json @@ -30,5 +30,13 @@ }, "bin": [ "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" + } }