From d583cc306c76d5032f24b026d219604311d496d5 Mon Sep 17 00:00:00 2001 From: twodayslate Date: Thu, 5 Mar 2020 21:47:57 -0500 Subject: [PATCH] Update Swift Package --- Package.swift | 6 +++++- Package@swift-4.2.swift | 20 ++++++++++++++++++++ SplitView.podspec | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 Package@swift-4.2.swift diff --git a/Package.swift b/Package.swift index ae72d7f..ee24c18 100644 --- a/Package.swift +++ b/Package.swift @@ -1,8 +1,12 @@ -// swift-tools-version:4.2 +// swift-tools-version:5.1 import PackageDescription let package = Package( name: "SplitView", + platforms: [ + .iOS(.v9), + .macOS(.v10_15) + ], products: [ .library(name: "SplitView", targets: ["SplitView"]) ], diff --git a/Package@swift-4.2.swift b/Package@swift-4.2.swift new file mode 100644 index 0000000..e8e5a51 --- /dev/null +++ b/Package@swift-4.2.swift @@ -0,0 +1,20 @@ +// swift-tools-version:4.2 +import PackageDescription + +let package = Package( + name: "SplitView", + products: [ + .library(name: "SplitView", targets: ["SplitView"]) + ], + dependencies: [], + targets: [ + .target( + name: "SplitView", + dependencies: [], + path: "SplitView"), + .testTarget( + name: "SplitViewTests", + dependencies: ["SplitView"], + path: "SplitViewTests"), + ] +) diff --git a/SplitView.podspec b/SplitView.podspec index 39eacca..3ec272f 100644 --- a/SplitView.podspec +++ b/SplitView.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SplitView' - s.version = '2.0.1' + s.version = '2.0.2' s.summary = 'A resizable Split View' s.swift_versions = ['4.2', '5.0', '5.1']