Added the SwiftLibs package as a dependency and set the minimum platform targets in the Package file.

This commit is contained in:
Javier Cicchelli 2023-04-18 21:46:10 +02:00
parent 83a4c1b37b
commit 30dbaa3cc6

View File

@ -4,6 +4,12 @@ import PackageDescription
let package = Package( let package = Package(
name: "AmiiboService", name: "AmiiboService",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v8)
],
products: [ products: [
.library( .library(
name: "AmiiboService", name: "AmiiboService",
@ -12,11 +18,15 @@ let package = Package(
] ]
), ),
], ],
dependencies: [], dependencies: [
.package(url: "https://github.com/rock-n-code/swift-libs.git", from: "0.1.0")
],
targets: [ targets: [
.target( .target(
name: "AmiiboService", name: "AmiiboService",
dependencies: [], dependencies: [
.product(name: "SwiftLibs", package: "swift-libs")
],
path: "Sources" path: "Sources"
), ),
.testTarget( .testTarget(