-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathPackage.swift
25 lines (23 loc) · 1009 Bytes
/
Package.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
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "GetStream",
platforms: [
.iOS(.v11)
],
products: [
.library(name: "GetStream", targets: ["GetStream"]),
.library(name: "Faye", targets: ["Faye"]),
],
dependencies: [
.package(url: "https://github.com/Moya/Moya.git", .upToNextMajor(from: "14.0.0")),
.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "4.0.0")),
.package(url: "https://github.com/sendyhalim/Swime", .upToNextMajor(from: "3.0.0")),
],
targets: [
.target(name: "GetStream", dependencies: ["Moya", "Faye", "Swime"], path: "Sources", exclude: ["Token"]),
.target(name: "Faye", dependencies: ["Starscream"], path: "Faye"),
.testTarget(name: "GetStreamTests", dependencies: ["GetStream"], path: "Tests", exclude: ["Token"]),
]
)