Skip to content

Commit 8d31bd1

Browse files
authored
Merge pull request #7 from OhKanghoon/kanghoon/support-swift-packag-manager
Support SPM
2 parents 81cb8f8 + c30f1e6 commit 8d31bd1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Package.swift

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// swift-tools-version:5.1
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "RxApolloClient",
7+
platforms: [
8+
.macOS(.v10_11), .iOS(.v8), .tvOS(.v9), .watchOS(.v3)
9+
],
10+
products: [
11+
.library(name: "RxApolloClient", targets: ["RxApolloClient"])
12+
],
13+
dependencies: [
14+
.package(url: "https://github.com/apollographql/apollo-ios.git", from: "0.15.3"),
15+
.package(url: "[email protected]:ReactiveX/RxSwift.git", from: "5.0.0")
16+
],
17+
targets: [
18+
.target(name: "RxApolloClient", path: "RxApolloClient/Classes")
19+
],
20+
swiftLanguageVersions: [.v5]
21+
)

0 commit comments

Comments
 (0)