mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-23 15:50:06 +02:00
23 lines
415 B
PHP
23 lines
415 B
PHP
|
<?php
|
||
|
namespace Task;
|
||
|
|
||
|
use Mage\Task\AbstractTask;
|
||
|
|
||
|
/**
|
||
|
* @author Muhammad Surya Ihsanuddin <surya.kejawen@gmail.com>
|
||
|
*/
|
||
|
class FrontControllerCleanTask extends AbstractTask
|
||
|
{
|
||
|
public function getName()
|
||
|
{
|
||
|
return 'Cleaning Project';
|
||
|
}
|
||
|
|
||
|
public function run()
|
||
|
{
|
||
|
$command = 'rm -rf web/app_*.php';
|
||
|
$result = $this->runCommandRemote($command);
|
||
|
|
||
|
return $result;
|
||
|
}
|
||
|
}
|