IceCubes/Packages/Network/Package.swift

38 lines
760 B
Swift
Raw Normal View History

// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Network",
defaultLocalization: "en",
platforms: [
.iOS(.v17),
.visionOS(.v1),
],
products: [
.library(
name: "Network",
2023-01-17 11:36:01 +01:00
targets: ["Network"]
),
],
2022-12-01 09:05:26 +01:00
dependencies: [
.package(name: "Models", path: "../Models"),
],
targets: [
.target(
name: "Network",
2022-12-01 09:05:26 +01:00
dependencies: [
2023-01-17 11:36:01 +01:00
.product(name: "Models", package: "Models"),
],
swiftSettings: [
2023-09-16 14:15:03 +02:00
.enableExperimentalFeature("StrictConcurrency"),
2023-01-17 11:36:01 +01:00
]
),
.testTarget(
name: "NetworkTests",
2023-01-17 11:36:01 +01:00
dependencies: ["Network"]
),
]
)