Import of current work

This commit is contained in:
Andrs Montaez
2011-11-22 09:16:06 -02:00
parent 9f89c76716
commit 3caa3d7313
15 changed files with 277 additions and 0 deletions
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
SCRIPT=$(readlink -f $0)
DIR=$(dirname $SCRIPT)
PHP_BIN=$(which php)
$PHP_BIN -d safe_mode=Off -f $DIR/mage.php -- $@
+21
View File
@@ -0,0 +1,21 @@
<?php
# mage deploy to:production
# mage update
# mage up
# mage task:init to:production
# mage run:full-deployment to:production
# full-deployment = update, deploy to:production
$baseDir = dirname(dirname(__FILE__));
require_once $baseDir . '/Magallanes/Autoload.php';
spl_autoload_register(array('Magallanes_Autoload', 'autoload'));
Magallanes_Console::output('Begining Magallanes' . PHP_EOL . PHP_EOL);
$console = new Magallanes_Console;
$console->setArgs($argv);
$console->parse();
$console->run();