Integrated the InitGitInFolderTask task into the CreateCommand command in the executable target.
This commit is contained in:
1 parent
1fcbc38253
commit
c7a1258273
2 files changed
+8
-6
No files matched your search
@@ -23,6 +23,7 @@ extension Colibri {
|
||||
let copyFiles = CopyFilesTask(fileService: fileService)
|
||||
let createFolders = CreateFoldersTask(fileService: fileService)
|
||||
let createRootFolder = CreateRootFolderTask(fileService: fileService)
|
||||
let initGitInFolder = InitGitInFolderTask()
|
||||
|
||||
let rootFolder = try await createRootFolder(
|
||||
name: options.name,
|
||||
@@ -31,6 +32,7 @@ extension Colibri {
|
||||
|
||||
try await createFolders(at: rootFolder)
|
||||
try await copyFiles(to: rootFolder)
|
||||
try await initGitInFolder(at: rootFolder)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user