mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-27 01:38:57 +02:00
Import of current work
This commit is contained in:
@@ -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 -- $@
|
||||
|
||||
@@ -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();
|
||||
Reference in New Issue
Block a user