mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-08 21:20:48 +01:00
feat(terraform): add support for terraform repos
Add terraform as a project type, make the language optional, and add a .gitignore and justfile template for Terraform repositories.
This commit is contained in:
parent
9176f34444
commit
af24a4b4fa
5 changed files with 79 additions and 2 deletions
|
@ -115,6 +115,13 @@ final class CreateListOfFilesToGenerate
|
|||
);
|
||||
}
|
||||
break;
|
||||
|
||||
case (strtolower(ProjectType::Terraform->name)):
|
||||
$filesToGenerate = collect([
|
||||
new TemplateFile(data: 'terraform/.gitignore', name: '.gitignore'),
|
||||
new TemplateFile(data: 'terraform/justfile', name: 'justfile'),
|
||||
]);
|
||||
break;
|
||||
}
|
||||
|
||||
$filesToGenerate[] = new TemplateFile(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue