mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
fractal: create both Docker and Nix files if needed
The two aren't mutually exclusive so a project could use both.
This commit is contained in:
parent
11b72e35d4
commit
39988504d9
|
@ -55,7 +55,9 @@ final class CreateListOfFilesToGenerate
|
|||
$filesToGenerate->push(new TemplateFile(data: 'fractal/.yarnrc', name: '.yarnrc'));
|
||||
$filesToGenerate->push(new TemplateFile(data: 'fractal/Dockerfile', name: 'Dockerfile'));
|
||||
$filesToGenerate->push(new TemplateFile(data: 'fractal/docker-compose.yaml', name: 'docker-compose.yaml'));
|
||||
} elseif ($configDto->isFlake) {
|
||||
}
|
||||
|
||||
if ($configDto->isFlake) {
|
||||
$filesToGenerate->push(new TemplateFile(data: 'fractal/.envrc', name: '.envrc'));
|
||||
$filesToGenerate->push(new TemplateFile(data: 'fractal/flake.nix', name: 'flake.nix'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue