Add new Robo task to run all QA tasks in one go

This commit is contained in:
Tautvidas Sipavičius
2016-08-02 14:40:20 +03:00
parent 82a001dc05
commit 5624f4c7a0

View File

@@ -141,8 +141,13 @@ class RoboFile extends \Robo\Tasks {
$this->_exec('vendor/bin/codecept run -g failed'); $this->_exec('vendor/bin/codecept run -g failed');
} }
function qa() {
$this->qaLint();
$this->qaCodeSniffer('all');
}
function qaLint() { function qaLint() {
$this->_exec('./tasks/php_lint.sh lib/ tests/'); $this->_exec('./tasks/php_lint.sh lib/ tests/ mailpoet.php');
} }
function qaCodeSniffer($severity='errors') { function qaCodeSniffer($severity='errors') {