mirror of https://github.com/hauke68/Magallanes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
416 B
23 lines
416 B
<?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;
|
|
}
|
|
}
|
|
|