-
Notifications
You must be signed in to change notification settings - Fork 1
/
Project.swift
101 lines (99 loc) · 3.17 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
96
97
98
99
100
101
import ProjectDescription
// MARK: Constants
let projectName = "GOMS-iOS"
let organizationName = "HARIBO"
let bundleID = "Minjae.GOMS-iOS"
let targetVersion = "15.0"
// MARK: Struct
let project = Project(
name: projectName,
organizationName: organizationName,
packages: [
.remote(
url: "https://github.com/RxSwiftCommunity/RxFlow.git",
requirement: .upToNextMajor(from: "2.10.0")
),
.remote(
url: "https://github.com/ReactiveX/RxSwift.git",
requirement: .upToNextMajor(from: "6.6.0")
),
.remote(
url: "https://github.com/SnapKit/SnapKit.git",
requirement: .upToNextMajor(from: "5.0.1")
),
.remote(
url: "https://github.com/devxoul/Then",
requirement: .upToNextMajor(from: "2.0.0")
),
.remote(
url: "https://github.com/Moya/Moya.git",
requirement: .upToNextMajor(from: "15.0.0")
),
.remote(
url: "https://github.com/onevcat/Kingfisher.git",
requirement: .upToNextMajor(from: "7.0.0")
),
.remote(
url: "https://github.com/mercari/QRScanner.git",
requirement: .upToNextMajor(from: "1.9.0")
),
.remote(
url: "https://github.com/GSM-MSG/GAuthSignin-Swift",
requirement: .upToNextMajor(from: "0.0.3")
),
.remote(
url: "https://github.com/ArtSabintsev/Siren.git",
requirement: .upToNextMajor(from: "6.1.2")
),
.remote(
url: "https://github.com/ReactorKit/ReactorKit.git",
requirement: .upToNextMajor(from: "3.0.0")
),
.remote(
url: "https://github.com/dmrschmidt/QRCode",
requirement: .upToNextMajor(from: "1.0.0")
),
.remote(
url: "https://github.com/firebase/firebase-ios-sdk",
requirement: .upToNextMajor(from: "10.0.0")
)
],
settings: nil,
targets: [
Target(name: projectName,
platform: .iOS,
product: .app, // unitTests, .appExtension, .framework, dynamicLibrary, staticFramework
productName: "GOMS",
bundleId: bundleID,
deploymentTarget: .iOS(
targetVersion: targetVersion,
devices: [.iphone, .ipad]
),
infoPlist: .file(path: "\(projectName)/Info.plist"),
sources: ["\(projectName)/Sources/**"],
resources: ["\(projectName)/Resources/**"],
dependencies: [
.package(product: "RxFlow"),
.package(product: "RxSwift"),
.package(product: "RxCocoa"),
.package(product: "SnapKit"),
.package(product: "Then"),
.package(product: "Moya"),
.package(product: "Kingfisher"),
.package(product: "QRScanner"),
.package(product: "GAuthSignin"),
.package(product: "Siren"),
.package(product: "ReactorKit"),
.package(product: "QRCode"),
.package(product: "FirebaseMessaging"),
.package(product: "FirebaseAnalytics")
] // tuist generate할 경우 pod install이 자동으로 실행
)
],
schemes: [
Scheme(name: "\(projectName)-Debug"),
Scheme(name: "\(projectName)-Release")
],
fileHeaderTemplate: nil,
additionalFiles: []
)