[Nostromo] Composer and Bin Script

This commit is contained in:
Andrés Montañez 2016-12-31 04:22:10 -03:00
parent 5852e02765
commit 6a4816a61d
2 changed files with 4 additions and 6 deletions

View file

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

View file

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