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 <?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();

6
composer.json

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