Browse Source

[Nostromo] Composer and Bin Script

pull/1/head
Andrés Montañez 8 years ago
parent
commit
6a4816a61d
  1. 4
      bin/mage
  2. 6
      composer.json

4
bin/mage

@ -2,10 +2,10 @@
<?php
date_default_timezone_set('UTC');
require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/../../../autoload.php';
use Mage\MageApplication;
$mage = new MageApplication();
$mage->configure(__DIR__ . '/../.mage.yml');
$mage->configure('.mage.yml');
$mage->run();

6
composer.json

@ -29,10 +29,8 @@
"**/Tests/"
]
},
"config": {
"config": {
"bin-dir": "bin"
},
"bin": [
"bin/mage"
]
"bin": ["bin/mage"]
}
Loading…
Cancel
Save