mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-02 14:12:51 +02:00
[Nostromo] SensioLabs Insights
This commit is contained in:
parent
6a4816a61d
commit
233faed09f
6
bin/mage
6
bin/mage
|
@ -2,7 +2,11 @@
|
|||
<?php
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
require __DIR__ . '/../../../autoload.php';
|
||||
if (file_exists(__DIR__ . '/../../../autoload.php')) {
|
||||
require __DIR__ . '/../../../autoload.php';
|
||||
} elseif (file_exists(__DIR__ . '/../vendor/autoload.php')) {
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
}
|
||||
|
||||
use Mage\MageApplication;
|
||||
|
||||
|
|
|
@ -22,9 +22,8 @@
|
|||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Component\\": "src/Symfony/Component/"
|
||||
"Mage\\": "src/Mage/"
|
||||
},
|
||||
"psr-0": { "": "src/" },
|
||||
"exclude-from-classmap": [
|
||||
"**/Tests/"
|
||||
]
|
||||
|
@ -33,4 +32,4 @@
|
|||
"bin-dir": "bin"
|
||||
},
|
||||
"bin": ["bin/mage"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -242,7 +242,7 @@ class DeployCommand extends AbstractCommand
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($this->runtime->getWorkingHost() != null) {
|
||||
if ($this->runtime->getWorkingHost()) {
|
||||
$output->writeln(sprintf(' Starting <fg=black;options=bold>%s</> tasks on host <fg=black;options=bold>%s</>:', $this->getStageName(), $this->runtime->getWorkingHost()));
|
||||
} else {
|
||||
$output->writeln(sprintf(' Starting <fg=black;options=bold>%s</> tasks:', $this->getStageName()));
|
||||
|
|
Loading…
Reference in a new issue