-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWorkspace.swift
More file actions
93 lines (86 loc) · 1.7 KB
/
Copy pathWorkspace.swift
File metadata and controls
93 lines (86 loc) · 1.7 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import ProjectDescription
import ProjectDescriptionHelpers
let iOSAcceptanceTests = Scheme(
name: "AcceptanceTests-iOS",
testAction:
.testPlans(
[
"TestPlans/AcceptanceTests-IOS.xctestplan",
],
attachDebugger: false
)
)
let iOSIntegrationTests = Scheme(
name: "IntegrationTests-iOS",
testAction:
.testPlans(
[
"TestPlans/IntegrationTests-iOS.xctestplan",
],
attachDebugger: false
)
)
let macOSIntegrationTests = Scheme(
name: "IntegrationTests-macOS",
testAction:
.testPlans(
[
"TestPlans/IntegrationTests-macOS.xctestplan",
],
attachDebugger: false
)
)
let iOSUnitTests = Scheme(
name: "UnitTests-iOS",
testAction:
.testPlans(
[
"TestPlans/UnitTests-iOS.xctestplan",
],
attachDebugger: false
)
)
let macOSUnitTests = Scheme(
name: "UnitTests-macOS",
testAction:
.testPlans(
[
"TestPlans/UnitTests-macOS.xctestplan",
],
attachDebugger: false
)
)
let iOS = Scheme(
name: "iOS",
buildAction: .buildAction(
targets: [
.foundation("Core"),
.foundation("UI"),
.app("iOS"),
]
),
runAction: .runAction(executable: .app("iOS"))
)
let workspace = Workspace(
name: ProjectConfiguration.appName,
projects: [
"Apps/iOS",
],
schemes: [
macOSUnitTests,
iOSUnitTests,
iOSIntegrationTests,
macOSIntegrationTests,
iOSAcceptanceTests,
iOS,
],
fileHeaderTemplate: "",
additionalFiles: [
.folderReference(path: .relativeToRoot("TestPlans")),
], generationOptions: .options(
enableAutomaticXcodeSchemes: false,
autogeneratedWorkspaceSchemes: .disabled,
lastXcodeUpgradeCheck: .init(14, 3, 0),
renderMarkdownReadme: true
)
)