-
Notifications
You must be signed in to change notification settings - Fork 0
/
Workspace.swift
57 lines (55 loc) · 1.9 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//
// Workspace.swift
// Config
//
// Created by 김지수 on 8/17/24.
//
import ProjectDescription
import ProjectDescriptionHelpers
let workspace = Workspace(
name: "three-days-iOS",
projects: [
"Projects/App",
"Projects/Core",
"Projects/Model",
"Projects/DesignSystem",
"Projects/Features"
],
schemes: [
.scheme(
name: "three-days-dev",
buildAction: .buildAction(targets: [.project(path: "./Projects/App", target: AppConfig.dev.appName)]),
runAction: .runAction(
configuration: .debug,
arguments: .arguments(environmentVariables: ["IDEPreferLogStreaming": "YES"])
),
archiveAction: .archiveAction(configuration: .configuration("Staging")),
profileAction: .profileAction(configuration: .debug),
analyzeAction: .analyzeAction(configuration: .debug)
),
.scheme(
name: "three-days-prod",
buildAction: .buildAction(targets: [.project(path: "./Projects/App", target: AppConfig.prod.appName)]),
runAction: .runAction(
configuration: .release,
arguments: .arguments(environmentVariables: ["IDEPreferLogStreaming": "YES"])
),
archiveAction: .archiveAction(configuration: .release),
profileAction: .profileAction(configuration: .release),
analyzeAction: .analyzeAction(configuration: .release)
),
.scheme(
name: "three-days-UnitTest",
testAction: .targets(
[
.target(.coreKit),
.target(.searchCompany),
.target(.designCore),
.target(.signUp),
.target(.home)
]
)
),
],
generationOptions: .options(autogeneratedWorkspaceSchemes: .disabled)
)