IceCubes/Packages/Models/Package.swift

38 lines
750 B
Swift
Raw Normal View History

// 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",
defaultLocalization: "en",
2022-11-29 09:28:17 +01:00
platforms: [
.iOS(.v17),
.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",
dependencies: [
"SwiftSoup",
],
swiftSettings: [
2023-09-16 14:15:03 +02:00
.enableExperimentalFeature("StrictConcurrency"),
]
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
]
)