mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-27 02:42:13 +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
|
<?php
|
||||||
date_default_timezone_set('UTC');
|
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;
|
use Mage\MageApplication;
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,8 @@
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Symfony\\Component\\": "src/Symfony/Component/"
|
"Mage\\": "src/Mage/"
|
||||||
},
|
},
|
||||||
"psr-0": { "": "src/" },
|
|
||||||
"exclude-from-classmap": [
|
"exclude-from-classmap": [
|
||||||
"**/Tests/"
|
"**/Tests/"
|
||||||
]
|
]
|
||||||
|
@ -33,4 +32,4 @@
|
||||||
"bin-dir": "bin"
|
"bin-dir": "bin"
|
||||||
},
|
},
|
||||||
"bin": ["bin/mage"]
|
"bin": ["bin/mage"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -242,7 +242,7 @@ class DeployCommand extends AbstractCommand
|
||||||
return true;
|
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()));
|
$output->writeln(sprintf(' Starting <fg=black;options=bold>%s</> tasks on host <fg=black;options=bold>%s</>:', $this->getStageName(), $this->runtime->getWorkingHost()));
|
||||||
} else {
|
} else {
|
||||||
$output->writeln(sprintf(' Starting <fg=black;options=bold>%s</> tasks:', $this->getStageName()));
|
$output->writeln(sprintf(' Starting <fg=black;options=bold>%s</> tasks:', $this->getStageName()));
|
||||||
|
|
Loading…
Reference in a new issue