Package.swift (26 lines of code) (raw):
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "RIBs",
platforms: [
.iOS(.v9),
],
products: [
.library(name: "RIBs", targets: ["RIBs"]),
],
dependencies: [
.package(url: "https://github.com/ReactiveX/RxSwift", from: "6.5.0"),
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", from: "2.2.2"), // for testTarget only
],
targets: [
.target(
name: "RIBs",
dependencies: ["RxSwift", "RxRelay"],
path: "RIBs"
),
.testTarget(
name: "RIBsTests",
dependencies: ["RIBs", "CwlPreconditionTesting"],
path: "RIBsTests"
),
]
)