2022-11-20 16:39:06 +01: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: "Network",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v16),
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Network",
|
|
|
|
targets: ["Network"]),
|
|
|
|
],
|
2022-12-01 09:05:26 +01:00
|
|
|
dependencies: [
|
|
|
|
.package(name: "Models", path: "../Models"),
|
|
|
|
],
|
2022-11-20 16:39:06 +01:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Network",
|
2022-12-01 09:05:26 +01:00
|
|
|
dependencies: [
|
|
|
|
.product(name: "Models", package: "Models")
|
|
|
|
]),
|
2022-11-20 16:39:06 +01:00
|
|
|
.testTarget(
|
|
|
|
name: "NetworkTests",
|
|
|
|
dependencies: ["Network"]),
|
|
|
|
]
|
|
|
|
)
|