2022-11-29 09:28:17 +01:00
|
|
|
// swift-tools-version: 5.7
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Models",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v16),
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Models",
|
|
|
|
targets: ["Models"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
2022-12-26 08:24:55 +01:00
|
|
|
.package(url: "https://gitlab.com/mflint/HTML2Markdown", exact: "1.0.0"),
|
|
|
|
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.4.3"),
|
2022-11-29 09:28:17 +01:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Models",
|
2022-12-26 08:24:55 +01:00
|
|
|
dependencies: ["HTML2Markdown",
|
|
|
|
"SwiftSoup"]),
|
2022-11-29 09:28:17 +01:00
|
|
|
.testTarget(
|
|
|
|
name: "ModelsTests",
|
|
|
|
dependencies: ["Models"]),
|
|
|
|
]
|
|
|
|
)
|