2023-09-15 12:46:15 +02:00
|
|
|
// swift-tools-version: 5.9
|
2022-11-29 09:28:17 +01:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Models",
|
2023-01-19 18:14:08 +01:00
|
|
|
defaultLocalization: "en",
|
2022-11-29 09:28:17 +01:00
|
|
|
platforms: [
|
2023-09-18 07:01:23 +02:00
|
|
|
.iOS(.v17),
|
2023-12-19 09:51:20 +01:00
|
|
|
.visionOS(.v1),
|
2022-11-29 09:28:17 +01:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Models",
|
2023-01-17 11:36:01 +01:00
|
|
|
targets: ["Models"]
|
|
|
|
),
|
2022-11-29 09:28:17 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
2022-12-26 08:24:55 +01:00
|
|
|
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.4.3"),
|
2022-11-29 09:28:17 +01:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Models",
|
2023-02-27 06:39:07 +01:00
|
|
|
dependencies: [
|
|
|
|
"SwiftSoup",
|
2023-09-15 12:46:15 +02:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2023-09-16 14:15:03 +02:00
|
|
|
.enableExperimentalFeature("StrictConcurrency"),
|
2023-02-27 06:39:07 +01:00
|
|
|
]
|
2023-01-17 11:36:01 +01:00
|
|
|
),
|
2022-11-29 09:28:17 +01:00
|
|
|
.testTarget(
|
|
|
|
name: "ModelsTests",
|
2023-01-17 11:36:01 +01:00
|
|
|
dependencies: ["Models"]
|
|
|
|
),
|
2022-11-29 09:28:17 +01:00
|
|
|
]
|
|
|
|
)
|