2024-09-10 04:53:19 +00:00
|
|
|
// swift-tools-version: 6.0
|
2022-11-20 15:39:06 +00:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Network",
|
2023-01-19 17:14:08 +00:00
|
|
|
defaultLocalization: "en",
|
2022-11-20 15:39:06 +00:00
|
|
|
platforms: [
|
2023-09-18 05:01:23 +00:00
|
|
|
.iOS(.v17),
|
2023-12-19 08:51:20 +00:00
|
|
|
.visionOS(.v1),
|
2022-11-20 15:39:06 +00:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Network",
|
2023-01-17 10:36:01 +00:00
|
|
|
targets: ["Network"]
|
|
|
|
),
|
2022-11-20 15:39:06 +00:00
|
|
|
],
|
2022-12-01 08:05:26 +00:00
|
|
|
dependencies: [
|
|
|
|
.package(name: "Models", path: "../Models"),
|
|
|
|
],
|
2022-11-20 15:39:06 +00:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Network",
|
2022-12-01 08:05:26 +00:00
|
|
|
dependencies: [
|
2023-01-17 10:36:01 +00:00
|
|
|
.product(name: "Models", package: "Models"),
|
2023-09-15 10:46:15 +00:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2024-09-10 04:53:19 +00:00
|
|
|
.swiftLanguageMode(.v6),
|
2023-01-17 10:36:01 +00:00
|
|
|
]
|
|
|
|
),
|
2022-11-20 15:39:06 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "NetworkTests",
|
2023-01-17 10:36:01 +00:00
|
|
|
dependencies: ["Network"]
|
|
|
|
),
|
2022-11-20 15:39:06 +00:00
|
|
|
]
|
|
|
|
)
|