Proper exit code. Issue #52

This commit is contained in:
Andrés Montañez
2014-08-06 21:43:29 -03:00
parent 8df5534470
commit 5d728a9105
14 changed files with 72 additions and 18 deletions
+4
View File
@@ -26,6 +26,7 @@ class InstallCommand extends AbstractCommand
*/
public function run()
{
$exitCode = 88;
Console::output('Installing <dark_gray>Magallanes</dark_gray>... ', 1, 0);
// Vars
@@ -74,7 +75,10 @@ class InstallCommand extends AbstractCommand
}
Console::output('<light_green>Success!</light_green>', 0, 2);
$exitCode = 0;
}
return $exitCode;
}
/**