- Database cleanup uses Models
- Formatted code as per Marco's comments
This commit is contained in:
17
RoboFile.php
17
RoboFile.php
@@ -14,10 +14,11 @@ class RoboFile extends \Robo\Tasks {
|
||||
}
|
||||
|
||||
function watch() {
|
||||
$files = array(// global admin styles
|
||||
'assets/css/src/admin.styl',
|
||||
// rtl specific styles
|
||||
'assets/css/src/rtl.styl'
|
||||
$files = array(
|
||||
// global admin styles
|
||||
'assets/css/src/admin.styl',
|
||||
// rtl specific styles
|
||||
'assets/css/src/rtl.styl'
|
||||
);
|
||||
|
||||
$command = array(
|
||||
@@ -28,11 +29,15 @@ class RoboFile extends \Robo\Tasks {
|
||||
}
|
||||
|
||||
function makepot() {
|
||||
$this->_exec('grunt makepot' . ' --gruntfile ' . __DIR__ . '/tasks/makepot/makepot.js' . ' --base_path ' . __DIR__);
|
||||
$this->_exec('grunt makepot' . ' --gruntfile '
|
||||
. __DIR__ . '/tasks/makepot/makepot.js'
|
||||
. ' --base_path ' . __DIR__);
|
||||
}
|
||||
|
||||
function pushpot() {
|
||||
$this->_exec('grunt pushpot' . ' --gruntfile ' . __DIR__ . '/tasks/makepot/makepot.js' . ' --base_path ' . __DIR__);
|
||||
$this->_exec('grunt pushpot' . ' --gruntfile '
|
||||
. __DIR__ . '/tasks/makepot/makepot.js'
|
||||
. ' --base_path ' . __DIR__);
|
||||
}
|
||||
|
||||
function testUnit() {
|
||||
|
Reference in New Issue
Block a user