From 64c4842740afe5407c81858e8d52b7a5adc1a31f Mon Sep 17 00:00:00 2001 From: Keith Lamprecht <1894492+Nixon506E@users.noreply.github.com> Date: Wed, 29 Jan 2020 10:26:50 -0500 Subject: [PATCH] Create Package.swift --- Package.swift | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 00000000..4b33fc2a --- /dev/null +++ b/Package.swift @@ -0,0 +1,34 @@ +// swift-tools-version:5.0 +import PackageDescription + +let package = Package( + name: "InputBarAccessoryView", + platforms: [.iOS(.v9)], + products: [ + .library( + name: "InputBarAccessoryView", + targets: ["InputBarAccessoryView"]), + .library( + name: "RxExtensions", + targets: ["RxExtensions"]) + ], + dependencies: [ + .package(url: "https://github.com/ReactiveX/RxSwift.git", from: "5.0.0") + ], + targets: [ + .target( + name: "InputBarAccessoryView", + path: "Sources" + ), + .target( + name: "RxExtensions", + dependencies: [ + "InputBarAccessoryView", + "RxSwift", + "RxCocoa" + ], + path: "RxInputBarAccessoryView" + ) + ], + swiftLanguageVersions: [.v5] +)