Added the SwiftLibs package as a dependency and set the minimum platform targets in the Package file.
This commit is contained in:
parent
83a4c1b37b
commit
30dbaa3cc6
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user