mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
Alias symfony-cli
to symfony
This commit is contained in:
parent
6a724297b5
commit
5c976b13fb
|
@ -43,6 +43,12 @@ final class CreateFinalConfigurationData
|
|||
$configurationData['isDocker'] = isset($configurationData['dockerfile']);
|
||||
$configurationData['isFlake'] = isset($configurationData['flake']);
|
||||
|
||||
// Alias `symfony-cli` to `symfony`. In the future, this allows for
|
||||
// different configurations for CLI-based and web-based applications.
|
||||
if ($configurationData['type'] === 'symfony-cli') {
|
||||
$configurationData['type'] = 'symfony';
|
||||
}
|
||||
|
||||
if (isset($configurationData['docker-compose'])) {
|
||||
$configurationData['dockerCompose'] = $configurationData['docker-compose'];
|
||||
$configurationData['docker-compose'] = null;
|
||||
|
|
Loading…
Reference in a new issue