Add importing of translations from Transifex [MAILPOET-849]

This commit is contained in:
Alexey Stoletniy
2017-03-13 17:43:56 +03:00
parent 8db7af48cd
commit 5321a136e7
4 changed files with 35 additions and 0 deletions

View File

@@ -104,6 +104,12 @@ class RoboFile extends \Robo\Tasks {
);
}
function packtranslations() {
// Define WP_TRANSIFEX_API_TOKEN env. variable
$this->loadEnv();
return $this->_exec('./tasks/pack_translations.sh');
}
function testUnit($opts=['file' => null, 'xml' => false]) {
$this->loadEnv();
$this->_exec('vendor/bin/codecept build');