2023-09-15 12:46:15 +02:00
|
|
|
// swift-tools-version: 5.9
|
2022-11-21 09:31:32 +01:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Timeline",
|
2023-01-19 18:14:08 +01:00
|
|
|
defaultLocalization: "en",
|
2022-11-21 09:31:32 +01:00
|
|
|
platforms: [
|
2023-09-18 07:01:23 +02:00
|
|
|
.iOS(.v17),
|
2022-11-21 09:31:32 +01:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Timeline",
|
2023-01-17 11:36:01 +01:00
|
|
|
targets: ["Timeline"]
|
|
|
|
),
|
2022-11-21 09:31:32 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
.package(name: "Network", path: "../Network"),
|
2022-11-29 09:28:17 +01:00
|
|
|
.package(name: "Models", path: "../Models"),
|
2022-12-22 10:53:36 +01:00
|
|
|
.package(name: "Env", path: "../Env"),
|
2022-12-18 20:30:19 +01:00
|
|
|
.package(name: "Status", path: "../Status"),
|
2022-12-25 07:43:02 +01:00
|
|
|
.package(name: "DesignSystem", path: "../DesignSystem"),
|
2023-09-14 11:04:14 +02:00
|
|
|
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.0.0"),
|
2023-02-22 18:56:37 +01:00
|
|
|
.package(url: "https://github.com/mergesort/Bodega", from: "2.0.2"),
|
2022-11-21 09:31:32 +01:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Timeline",
|
|
|
|
dependencies: [
|
2022-11-29 09:28:17 +01:00
|
|
|
.product(name: "Network", package: "Network"),
|
2022-11-29 11:46:02 +01:00
|
|
|
.product(name: "Models", package: "Models"),
|
2022-12-22 10:53:36 +01:00
|
|
|
.product(name: "Env", package: "Env"),
|
2022-12-18 20:30:19 +01:00
|
|
|
.product(name: "Status", package: "Status"),
|
2023-01-17 11:36:01 +01:00
|
|
|
.product(name: "DesignSystem", package: "DesignSystem"),
|
2023-07-18 09:45:39 +02:00
|
|
|
.product(name: "SwiftUIIntrospect", package: "SwiftUI-Introspect"),
|
2023-02-22 18:56:37 +01:00
|
|
|
.product(name: "Bodega", package: "Bodega"),
|
2023-09-15 12:46:15 +02:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2023-09-16 14:15:03 +02:00
|
|
|
.enableExperimentalFeature("StrictConcurrency"),
|
2023-01-17 11:36:01 +01:00
|
|
|
]
|
|
|
|
),
|
2022-11-21 09:31:32 +01:00
|
|
|
.testTarget(
|
|
|
|
name: "TimelineTests",
|
2023-01-17 11:36:01 +01:00
|
|
|
dependencies: ["Timeline"]
|
|
|
|
),
|
2022-11-21 09:31:32 +01:00
|
|
|
]
|
|
|
|
)
|