From 5624f4c7a05cd755752b77b7f4018adbc3da5125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tautvidas=20Sipavi=C4=8Dius?= Date: Tue, 2 Aug 2016 14:40:20 +0300 Subject: [PATCH] Add new Robo task to run all QA tasks in one go --- RoboFile.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/RoboFile.php b/RoboFile.php index 02ee0f85f3..9209019461 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -141,8 +141,13 @@ class RoboFile extends \Robo\Tasks { $this->_exec('vendor/bin/codecept run -g failed'); } + function qa() { + $this->qaLint(); + $this->qaCodeSniffer('all'); + } + function qaLint() { - $this->_exec('./tasks/php_lint.sh lib/ tests/'); + $this->_exec('./tasks/php_lint.sh lib/ tests/ mailpoet.php'); } function qaCodeSniffer($severity='errors') {