Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// swift-tools-version:5.4
//
// Package.swift
// RxCoreStore
Expand Down Expand Up @@ -25,31 +26,32 @@

import PackageDescription

let targets: [Target]
#if os(iOS)
targets = [Target(name: "RxCoreStore iOS")]
#elseif os(OSX)
targets = [Target(name: "RxCoreStore OSX")]
#elseif os(watchOS)
targets = [Target(name: "RxCoreStore watchOS")]
#elseif os(tvOS)
targets = [Target(name: "RxCoreStore tvOS")]
#else
targets = []
#endif

let package = Package(
name: "RxCoreStore",
targets: targets,
platforms: [
.macOS(.v10_13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4)
],
products: [
.library(name: "RxCoreStore", targets: ["RxCoreStore"])
],
dependencies: [
.Package(
url: "https://github.com/JohnEstropia/CoreStore.git",
"7.3.0"
.package(url: "https://github.com/JohnEstropia/CoreStore.git", .upToNextMajor(from: "7.0.0")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0"))
],
targets: [
.target(
name: "RxCoreStore",
dependencies: [
.product(name: "CoreStore", package: "CoreStore"),
.product(name: "RxSwift", package: "RxSwift"),
.product(name: "RxCocoa", package: "RxSwift")
],
path: "Sources"
),
.Package(
url: "https://github.com/ReactiveX/RxSwift.git",
"5.1.1"
.testTarget(
name: "RxCoreStoreTests",
dependencies: ["RxCoreStore"],
path: "RxCoreStoreTests"
)
],
exclude: ["Carthage", "RxCoreStoreDemo", "Sources/libA/images"]
]
)
1 change: 1 addition & 0 deletions RxCoreStoreTests/RxCoreStoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest

import RxSwift
@testable import CoreStore
@testable import RxCoreStore

Expand Down
1 change: 1 addition & 0 deletions Sources/RxDataStack+Setup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// SOFTWARE.
//

import Foundation
import CoreStore
import RxCocoa
import RxSwift
Expand Down
1 change: 1 addition & 0 deletions Sources/RxDynamicObject+Observing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// SOFTWARE.
//

import CoreData
import CoreStore
import RxCocoa
import RxSwift
Expand Down
2 changes: 2 additions & 0 deletions Sources/RxListMonitor+Observing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
// SOFTWARE.
//

import Foundation
import CoreData
import CoreStore
import RxCocoa
import RxSwift
Expand Down
1 change: 1 addition & 0 deletions Sources/RxListPublisher+DataSources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// SOFTWARE.
//

import Foundation
import CoreStore
import RxCocoa
import RxSwift
Expand Down
1 change: 1 addition & 0 deletions Sources/RxObjectMonitor+Observing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// SOFTWARE.
//

import Foundation
import CoreStore
import RxCocoa
import RxSwift
Expand Down
1 change: 1 addition & 0 deletions Sources/RxObjectPublisher+DataSources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// SOFTWARE.
//

import Foundation
import CoreStore
import RxCocoa
import RxSwift
Expand Down