Added the "root" case to the Folder enumeration.

This commit is contained in:
Javier Cicchelli 2025-01-18 12:14:42 +01:00
parent 29dad1d688
commit 5f958c6f4c
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ enum Folder {
case app case app
case libraryPublic case libraryPublic
case libraryInternal case libraryInternal
case root
case testCasesPublic case testCasesPublic
case testCasesInternal case testCasesInternal
case testHelpers case testHelpers
@ -18,6 +19,7 @@ extension Folder {
case .app: "App/Sources" case .app: "App/Sources"
case .libraryPublic: "Library/Sources/Public" case .libraryPublic: "Library/Sources/Public"
case .libraryInternal: "Library/Sources/Internal" case .libraryInternal: "Library/Sources/Internal"
case .root: ""
case .testCasesPublic: "Test/Sources/Cases/Public" case .testCasesPublic: "Test/Sources/Cases/Public"
case .testCasesInternal: "Test/Sources/Cases/Internal" case .testCasesInternal: "Test/Sources/Cases/Internal"
case .testHelpers: "Test/Sources/Helpers" case .testHelpers: "Test/Sources/Helpers"

View File

@ -26,6 +26,7 @@ private extension FolderTests {
"App/Sources", "App/Sources",
"Library/Sources/Public", "Library/Sources/Public",
"Library/Sources/Internal", "Library/Sources/Internal",
"",
"Test/Sources/Cases/Public", "Test/Sources/Cases/Public",
"Test/Sources/Cases/Internal", "Test/Sources/Cases/Internal",
"Test/Sources/Helpers" "Test/Sources/Helpers"