Skip to content

Commit

Permalink
add Package.swift file
Browse files Browse the repository at this point in the history
  • Loading branch information
magi82 committed Jul 7, 2020
1 parent 23e43ca commit d0b99ae
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "RxViewBinder",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "RxViewBinder",
targets: ["RxViewBinder"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "5.0.0")),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "RxViewBinder",
dependencies: ["RxSwift", "RxCocoa"],
path: "Sources"),
// .testTarget(
// name: "RxViewBinderTests",
// dependencies: ["RxViewBinder"]),
]
)
1 change: 1 addition & 0 deletions Sources/BindCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import RxSwift

public protocol BindCell: class {
Expand Down
1 change: 1 addition & 0 deletions Sources/BindView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import UIKit
import RxSwift

public protocol BindView: class {
Expand Down
1 change: 1 addition & 0 deletions Sources/ViewBindable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import RxSwift
import RxCocoa

Expand Down

0 comments on commit d0b99ae

Please sign in to comment.