2023-09-15 10:46:15 +00:00
|
|
|
// swift-tools-version: 5.9
|
2022-11-29 08:28:17 +00: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 17:14:08 +00:00
|
|
|
defaultLocalization: "en",
|
2022-11-29 08:28:17 +00:00
|
|
|
platforms: [
|
2023-09-18 05:01:23 +00:00
|
|
|
.iOS(.v17),
|
2022-11-29 08:28:17 +00:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Models",
|
2023-01-17 10:36:01 +00:00
|
|
|
targets: ["Models"]
|
|
|
|
),
|
2022-11-29 08:28:17 +00:00
|
|
|
],
|
|
|
|
dependencies: [
|
2022-12-26 07:24:55 +00:00
|
|
|
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.4.3"),
|
2022-11-29 08:28:17 +00:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Models",
|
2023-02-27 05:39:07 +00:00
|
|
|
dependencies: [
|
|
|
|
"SwiftSoup",
|
2023-09-15 10:46:15 +00:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2023-09-16 12:15:03 +00:00
|
|
|
.enableExperimentalFeature("StrictConcurrency"),
|
2023-02-27 05:39:07 +00:00
|
|
|
]
|
2023-01-17 10:36:01 +00:00
|
|
|
),
|
2022-11-29 08:28:17 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "ModelsTests",
|
2023-01-17 10:36:01 +00:00
|
|
|
dependencies: ["Models"]
|
|
|
|
),
|
2022-11-29 08:28:17 +00:00
|
|
|
]
|
|
|
|
)
|