From fc5ea145a65a90a0f355594ed98a18ac8e0008bf Mon Sep 17 00:00:00 2001 From: Mario Hahn Date: Thu, 25 Jun 2020 13:57:43 +0200 Subject: [PATCH] fixec package --- Package.swift | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index 2cc94ed..9031427 100644 --- a/Package.swift +++ b/Package.swift @@ -3,14 +3,30 @@ import PackageDescription let package = Package( name: "SwiftyStoreKit", - // platforms: [.iOS("8.0"), .macOS("10.10"), tvOS("9.0"), .watchOS("2.0")], + platforms: [ + .iOS(.v8), + .tvOS(.v9), + .watchOS("6.2"), + .macOS(.v10_10) + ], products: [ - .library(name: "SwiftyStoreKit", targets: ["SwiftyStoreKit"]) + // Products define the executables and libraries produced by a package, and make them visible to other packages. + .library( + name: "SwiftyStoreKit", + targets: ["SwiftyStoreKit"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.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: "SwiftyStoreKit", - path: "SwiftyStoreKit" - ) + dependencies: []), + .testTarget( + name: "SwiftyStoreKitTests", + dependencies: ["SwiftyStoreKit"]), ] )