forked from apollographql/apollo-ios-dev
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Project.swift
52 lines (50 loc) · 1.91 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
import ProjectDescription
import ProjectDescriptionHelpers
// MARK: - Project
let project = Project(
name: "ApolloDev",
organizationName: "apollographql",
packages: [
.package(url: "https://github.com/Quick/Nimble.git", from: "13.2.0"),
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.1"),
.package(path: "apollo-ios"),
.package(path: "apollo-ios-codegen"),
.package(path: "apollo-ios-pagination"),
],
settings: Settings.settings(configurations: [
.debug(name: .debug, xcconfig: "Configuration/Apollo/Apollo-Project-Debug.xcconfig"),
.release(name: .release, xcconfig: "Configuration/Apollo/Apollo-Project-Release.xcconfig"),
.release(name: .performanceTesting, xcconfig: "Configuration/Apollo/Apollo-Project-Performance-Testing.xcconfig")
]),
targets: [
.animalKingdomFramework(),
.starWarsFramework(),
.gitHubFramework(),
.uploadFramework(),
.subscriptionFramework(),
.apolloWrapperFramework(),
.apolloCodegenLibWrapperFramework(),
.apolloInternalTestHelpersFramework(),
.apolloCodegenInternalTestHelpersFramework(),
.apolloTests(),
.apolloPaginationTests(),
.apolloPerformanceTests(),
.apolloServerIntegrationTests(),
.apolloCodegenTests(),
.codegenCLITests()
],
schemes: [
.apolloCodegenTests(),
.apolloPerformanceTests(),
.apolloPaginationTests(),
.apolloServerIntegrationTests(),
.apolloTests(),
.codegenCLITests()
],
additionalFiles: [
.glob(pattern: "Tests/TestPlans/**"),
.folderReference(path: "Sources/\(ApolloTarget.gitHubAPI.name)/graphql"),
.folderReference(path: "Sources/\(ApolloTarget.subscriptionAPI.name)/graphql"),
.folderReference(path: "Sources/\(ApolloTarget.uploadAPI.name)/graphql")
]
)