forked from SwiftRex/SwiftRex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
56 lines (52 loc) · 2.41 KB
/
Package.swift
File metadata and controls
56 lines (52 loc) · 2.41 KB
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
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "SwiftRex",
platforms: [.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v3)],
products: [
.library(name: "CombineRex", targets: ["SwiftRex", "CombineRex"]),
.library(name: "ReactiveSwiftRex", targets: ["SwiftRex", "ReactiveSwiftRex"]),
.library(name: "RxSwiftRex", targets: ["SwiftRex", "RxSwiftRex"]),
.library(name: "CombineRexDynamic", type: .dynamic, targets: ["SwiftRex", "CombineRex"]),
.library(name: "ReactiveSwiftRexDynamic", type: .dynamic, targets: ["SwiftRex", "ReactiveSwiftRex"]),
.library(name: "RxSwiftRexDynamic", type: .dynamic, targets: ["SwiftRex", "RxSwiftRex"])
],
dependencies: [
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: "6.2.0"),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", from: "7.0.0")
],
targets: [
.target(
name: "SwiftRex",
exclude: ["CodeGeneration/Templates"] // TODO: Once Swift Package is updated to 5.5, put docc back
),
.target(name: "CombineRex", dependencies: ["SwiftRex"]),
.target(name: "ReactiveSwiftRex", dependencies: ["SwiftRex", "ReactiveSwift"]),
.target(name: "RxSwiftRex", dependencies: ["SwiftRex", "RxSwift"]),
.testTarget(name: "SwiftRexTests", dependencies: ["SwiftRex"]),
.testTarget(name: "CombineRexTests", dependencies: ["CombineRex"]),
.testTarget(name: "ReactiveSwiftRexTests", dependencies: ["ReactiveSwiftRex"]),
.testTarget(name: "RxSwiftRexTests", dependencies: ["RxSwiftRex"]),
.testTarget(
name: "SwiftRexDeprecationTests",
dependencies: ["SwiftRex"],
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]
),
.testTarget(
name: "CombineRexDeprecationTests",
dependencies: ["CombineRex"],
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]
),
.testTarget(
name: "ReactiveSwiftRexDeprecationTests",
dependencies: ["ReactiveSwiftRex"],
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]
),
.testTarget(
name: "RxSwiftRexDeprecationTests",
dependencies: ["RxSwiftRex"],
swiftSettings: [.unsafeFlags(["-suppress-warnings"])]
)
],
swiftLanguageVersions: [.v5]
)