|
@@ -3,14 +3,30 @@ import PackageDescription
|
|
|
|
|
|
let package = Package(
|
|
let package = Package(
|
|
name: "SwiftyStoreKit",
|
|
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: [
|
|
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: [
|
|
|
|
+ // 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(
|
|
.target(
|
|
name: "SwiftyStoreKit",
|
|
name: "SwiftyStoreKit",
|
|
- path: "SwiftyStoreKit"
|
|
|
|
- )
|
|
|
|
|
|
+ dependencies: []),
|
|
|
|
+ .testTarget(
|
|
|
|
+ name: "SwiftyStoreKitTests",
|
|
|
|
+ dependencies: ["SwiftyStoreKit"]),
|
|
]
|
|
]
|
|
)
|
|
)
|