Skip to content

Commit 34994c6

Browse files
authored
Create Package.swift
1 parent c52f546 commit 34994c6

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Package.swift

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// swift-tools-version:5.1
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "RxAlertViewable",
8+
platforms: [
9+
.iOS(.v10)
10+
],
11+
products: [
12+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
13+
.library(
14+
name: "RxAlertViewable",
15+
targets: ["RxAlertViewable"]
16+
),
17+
],
18+
dependencies: [
19+
// Dependencies declare other packages that this package depends on.
20+
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0")),
21+
],
22+
targets: [
23+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
24+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
25+
.target(
26+
name: "RxAlertViewable",
27+
dependencies: [
28+
"RxSwift",
29+
.product(name: "RxCocoa", package: "RxSwift")
30+
]),
31+
.testTarget(
32+
name: "RxAlertViewableTests",
33+
dependencies: ["RxAlertViewable"]
34+
),
35+
]
36+
)

0 commit comments

Comments
 (0)