-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.swift
44 lines (43 loc) · 1.54 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
import ProjectDescription
// MARK: - Project
// Creates our project using a helper function defined in ProjectDescriptionHelpers
let project = Project(
name: "SSGP",
organizationName: "com.ssgp",
targets: [
Target(
name: "SSGP",
platform: .iOS,
product: .app,
bundleId: "com.ssgp.SSGP",
deploymentTarget: .iOS(targetVersion: "13.0", devices: .iphone),
infoPlist: .file(path: Path("Supporting Files/Info.plist")),
sources: ["Sources/**"],
resources: [
"Resources/**",
"Supporting Files/R.generated.swift",
"Supporting Files/GoogleService-Info.plist"
],
entitlements: Path("Supporting Files/SSGP.entitlements"),
actions: [
TargetAction.pre(
script: "${PODS_ROOT}/SwiftLint/swiftlint",
name: "SwiftLint"
),
TargetAction.pre(
path: Path("Scripts/RSwiftRunScript.sh"),
arguments: [],
name: "R.Swift",
inputPaths: [Path.init("$TEMP_DIR/rswift-lastrun")],
inputFileListPaths: [],
outputPaths: [Path.init("$SRCROOT/Supporting Files/R.generated.swift")],
outputFileListPaths: []
)
]
)
],
additionalFiles: [
"Supporting Files/R.generated.swift",
"Supporting Files/GoogleService-Info.plist"
]
)