-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.swift
More file actions
62 lines (61 loc) · 1.95 KB
/
Project.swift
File metadata and controls
62 lines (61 loc) · 1.95 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
import ProjectDescription
let project = Project(
name: "TechFork",
packages: [
.package(url: "https://github.com/Moya/Moya.git", .exact("15.0.0")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0")),
],
settings: .settings(
configurations: [
.debug(name: "SecretOnly", xcconfig: .relativeToRoot("../TechFork-iOS/Configuration/Secret.xcconfig")),
.release(
name: "Release",
xcconfig: .relativeToRoot("../TechFork-iOS/Configuration/Secret.xcconfig")
)
]
),
targets: [
.target(
name: "TechFork",
destinations: .iOS,
product: .app,
bundleId: "io.tuist.TechFork",
infoPlist: .extendingDefault(
with: [
"UILaunchScreen": [
"UIColorName": "",
"UIImageName": "",
],
"API_URL": "$(API_URL)",
]
),
sources: ["TechFork/Sources/**"],
resources: ["TechFork/Resources/**"],
dependencies: [
.package(product: "Moya"),
.package(product: "RxMoya"),
.package(product: "RxSwift"),
],
settings: .settings(
base: [
"ENABLE_TESTABILITY": "YES"
]
)
),
.target(
name: "TechForkTests",
destinations: .iOS,
product: .unitTests,
bundleId: "io.tuist.TechForkTests",
infoPlist: .default,
sources: ["TechFork/Tests/**"],
resources: [],
dependencies: [
.target(name: "TechFork"),
.package(product: "Moya"),
.package(product: "RxMoya"),
.package(product: "RxSwift"),
]
),
]
)