mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-29 10:38:57 +02:00
Major overhauling and refactoring of Magallanes Command and Tasks modulairty and workflow.
ADVICE: there is no Backwards Compatibility with custom tasks, those using the _config instance will be broken or those using the getEnvironmentName().
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class Mage_Task_Compile
|
||||
*
|
||||
* @author Ismael Ambrosi<ismaambrosi@gmail.com>
|
||||
*/
|
||||
class Mage_Task_Compile
|
||||
{
|
||||
/**
|
||||
* @see Mage_Compile::compile()
|
||||
*/
|
||||
public function run ()
|
||||
{
|
||||
Mage_Console::output('Compiling <dark_gray>Magallanes</dark_gray>... ', 1, 0);
|
||||
|
||||
$compiler = new Mage_Compiler();
|
||||
$compiler->compile();
|
||||
|
||||
Mage_Console::output('Mage compiled successfully');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user