diff --git a/.gitignore b/.gitignore index 40958a9..31b3d04 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ DerivedData *.ipa *.xcuserstate + timeline.xctimeline # Bundler @@ -42,4 +43,6 @@ Carthage/Build # Swift Package Manager # .build/ +.swiftpm/ +Package.resolved Packages/ diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..cdc65b6 --- /dev/null +++ b/Package.swift @@ -0,0 +1,22 @@ +// swift-tools-version:5.0 +import PackageDescription + +let package = Package( + name: "RxCoreData", + platforms: [ + .iOS(.v9), + .macOS(.v10_12) + ], + products: [ + .library(name: "RxCoreData", targets: ["RxCoreData"]), + ], + dependencies: [ + .package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "5.0.0")) + ], + targets: [ + .target( + name: "RxCoreData", + dependencies: ["RxSwift", "RxCocoa"], + path: "Sources"), + ] +)