2022-11-29 08:28:17 +00: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 07:24:55 +00: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 08:28:17 +00:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Models",
|
2022-12-26 07:24:55 +00:00
|
|
|
dependencies: ["HTML2Markdown",
|
|
|
|
"SwiftSoup"]),
|
2022-11-29 08:28:17 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "ModelsTests",
|
|
|
|
dependencies: ["Models"]),
|
|
|
|
]
|
|
|
|
)
|