mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-15 20:15:04 +02:00
[Nostromo] Composer and Bin Script
This commit is contained in:
parent
5852e02765
commit
6a4816a61d
4
bin/mage
4
bin/mage
|
@ -2,10 +2,10 @@
|
||||||
<?php
|
<?php
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
|
|
||||||
require __DIR__ . '/../vendor/autoload.php';
|
require __DIR__ . '/../../../autoload.php';
|
||||||
|
|
||||||
use Mage\MageApplication;
|
use Mage\MageApplication;
|
||||||
|
|
||||||
$mage = new MageApplication();
|
$mage = new MageApplication();
|
||||||
$mage->configure(__DIR__ . '/../.mage.yml');
|
$mage->configure('.mage.yml');
|
||||||
$mage->run();
|
$mage->run();
|
|
@ -29,10 +29,8 @@
|
||||||
"**/Tests/"
|
"**/Tests/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"bin-dir": "bin"
|
"bin-dir": "bin"
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": ["bin/mage"]
|
||||||
"bin/mage"
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue