-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject.swift
61 lines (60 loc) · 2.02 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
import Foundation
import ProjectDescription
let project = Project(
name: "FeatherNotes",
targets: [
.target(
name: "FeatherNotes",
destinations: Set<Destination>([.iPhone, .iPad]),
product: .app,
bundleId: "dev.pietech.feathernotes",
infoPlist: .extendingDefault(
with: [
"UILaunchScreen": [
"UIColorName": "",
"UIImageName": "",
],
]
),
sources: ["FeatherNotes/Sources/**"],
resources: ["FeatherNotes/Resources/**"],
dependencies: [
.target(name: "FeatherNotesCore"),
.target(name: "FeatherNotesCoreUI"),
.target(name: "FeatherNotesResources"),
.external(name: "Realm"),
.external(name: "RealmSwift")
]
),
.target(
name: "FeatherNotesCore",
destinations: Set<Destination>([.iPhone, .iPad]),
product: .framework,
bundleId: "dev.pietech.feathernotes.core",
sources: ["FeatherNotesCore/**"],
dependencies: [
.external(name: "Realm"),
.external(name: "RealmSwift")
]
),
.target(
name: "FeatherNotesCoreUI",
destinations: Set<Destination>([.iPhone, .iPad]),
product: .framework,
bundleId: "dev.pietech.feathernotes.coreui",
sources: ["FeatherNotesCoreUI/**"],
dependencies: [
.target(name: "FeatherNotesCore"),
.target(name: "FeatherNotesResources")
]
),
.target(
name: "FeatherNotesResources",
destinations: Set<Destination>([.iPhone, .iPad]),
product: .bundle,
bundleId: "dev.pietech.feathernotes.resources",
resources: ["FeatherNotesResources/**"],
dependencies: []
)
]
)