-
Notifications
You must be signed in to change notification settings - Fork 0
/
Workspace.swift
42 lines (35 loc) · 1.17 KB
/
Workspace.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import ProjectDescription
@_spi(Feature)
@_spi(Core)
@_spi(Domain)
@_spi(Shared)
import DependencyPlugin
let workspace = Workspace(
name: "Mohanyang",
projects: {
var projects: [Path] = []
projects.append(Path("Projects/App"))
projects.append(Path("Projects/Feature/Feature"))
projects += Feature.allCases.map {
Path("Projects/\(String(describing: type(of: $0)))/\(String(describing: $0))")
}
projects.append(Path("Projects/Core/Core"))
projects += Core.allCases.map {
Path("Projects/\(String(describing: type(of: $0)))/\(String(describing: $0))")
}
projects.append(Path("Projects/Shared/Shared"))
projects += Shared.allCases.map {
Path("Projects/\(String(describing: type(of: $0)))/\(String(describing: $0))")
}
projects.append(Path("Projects/Domain/Domain"))
projects += Domain.allCases.map {
Path("Projects/\(String(describing: type(of: $0)))/\(String(describing: $0))")
}
return projects
}(),
generationOptions: .options(
enableAutomaticXcodeSchemes: false,
autogeneratedWorkspaceSchemes: .enabled(codeCoverageMode: .relevant),
renderMarkdownReadme: true
)
)