IceCubesApp/Packages/Models/Package.swift

38 lines
726 B
Swift
Raw Normal View History

// swift-tools-version: 6.0
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",
defaultLocalization: "en",
2022-11-29 08:28:17 +00:00
platforms: [
.iOS(.v17),
.visionOS(.v1),
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",
dependencies: [
"SwiftSoup",
],
swiftSettings: [
.swiftLanguageMode(.v6),
]
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
]
)