-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.swift
95 lines (86 loc) · 2.08 KB
/
Project.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
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
94
95
import ProjectDescription
import ProjectDescriptionHelpers
import MyPlugin
let helpersModule = Module(
name: "Helpers",
path: "Helpers",
frameworkDependencies: [],
exampleDependencies: [],
frameworkResources: [],
exampleResources: [],
targets: [.framework]
)
let constantsModule = Module(
name: "Constants",
path: "Constants",
frameworkDependencies: [],
exampleDependencies: [],
frameworkResources: [],
exampleResources: [],
targets: [.framework]
)
let commonViewsModule = Module(
name: "CommonViews",
path: "CommonViews",
frameworkDependencies: [
.target(name: "Extensions"),
.target(name: "Models"),
.target(name: "Helpers"),
.target(name: "Constants")
],
exampleDependencies: [],
frameworkResources: [],
exampleResources: [],
targets: [.framework]
)
let extensionsModule = Module(
name: "Extensions",
path: "Extensions",
frameworkDependencies: [
.target(name: "Constants")
],
exampleDependencies: [],
frameworkResources: [],
exampleResources: [],
targets: [.framework]
)
let modelsModule = Module(
name: "Models",
path: "Models",
frameworkDependencies: [
.target(name: "Extensions"),
.target(name: "Constants")
],
exampleDependencies: [],
frameworkResources: [],
exampleResources: [],
targets: [.framework]
)
let profileModule = Module(
name: "Profile",
path: "Profile",
frameworkDependencies: [
.target(name: "CommonViews"),
.target(name: "Extensions"),
.target(name: "Models"),
.target(name: "Constants")
],
exampleDependencies: [],
frameworkResources: ["Resources/**"],
exampleResources: ["Resources/**"]
)
// MARK: - Project
// Local plugin loaded
let localHelper = LocalHelper(name: "MyPlugin")
let project = Project.app(
name: "xcodecloud-demo-growth",
platform: .iOS,
modules: [
commonViewsModule,
extensionsModule,
modelsModule,
profileModule,
constantsModule,
helpersModule
]
)