From b0cce4977fc0e23da1004446d7ec6f7f9706f1d5 Mon Sep 17 00:00:00 2001 From: Vitalii Parovishnyk Date: Wed, 2 Oct 2019 10:06:58 +0300 Subject: [PATCH] updated swift package --- Package.swift | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/Package.swift b/Package.swift index 66ad16c..a4704a2 100644 --- a/Package.swift +++ b/Package.swift @@ -2,21 +2,15 @@ import PackageDescription -let package = Package( - name: "SwiftEventBus", - products: [ - .library( - name: "SwiftEventBus", - targets: ["SwiftEventBus"] - ) - ], - dependencies: [], - targets: [SwiftEventBus - .target( - name: "SwiftEventBus", - dependencies: [], - path: "SwiftEventBus" - ), - ], - swiftLanguageVersions: [.v5] +let package = Package(name: "SwiftEventBus", + platforms: [.macOS(.v10_10), + .iOS(.v8)], + + products: [.library(name: "SwiftEventBus", + targets: ["SwiftEventBus"])], + + targets: [.target(name: "SwiftEventBus", + path: "SwiftEventBus")], + + swiftLanguageVersions: [.v5] )