2023-09-15 10:46:15 +00:00
|
|
|
// swift-tools-version: 5.9
|
2022-11-21 08:31:32 +00: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 17:14:08 +00:00
|
|
|
defaultLocalization: "en",
|
2022-11-21 08:31:32 +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-21 08:31:32 +00:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Timeline",
|
2023-01-17 10:36:01 +00:00
|
|
|
targets: ["Timeline"]
|
|
|
|
),
|
2022-11-21 08:31:32 +00:00
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
.package(name: "Network", path: "../Network"),
|
2022-11-29 08:28:17 +00:00
|
|
|
.package(name: "Models", path: "../Models"),
|
2022-12-22 09:53:36 +00:00
|
|
|
.package(name: "Env", path: "../Env"),
|
2024-01-06 18:27:26 +00:00
|
|
|
.package(name: "StatusKit", path: "../StatusKit"),
|
2022-12-25 06:43:02 +00:00
|
|
|
.package(name: "DesignSystem", path: "../DesignSystem"),
|
2024-06-12 18:37:43 +00:00
|
|
|
.package(url: "https://github.com/Dimillian/swiftui-introspect", branch: "main"),
|
|
|
|
.package(url: "https://github.com/Dimillian/Bodega", branch: "main"),
|
2022-11-21 08:31:32 +00:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Timeline",
|
|
|
|
dependencies: [
|
2022-11-29 08:28:17 +00:00
|
|
|
.product(name: "Network", package: "Network"),
|
2022-11-29 10:46:02 +00:00
|
|
|
.product(name: "Models", package: "Models"),
|
2022-12-22 09:53:36 +00:00
|
|
|
.product(name: "Env", package: "Env"),
|
2024-01-06 18:27:26 +00:00
|
|
|
.product(name: "StatusKit", package: "StatusKit"),
|
2023-01-17 10:36:01 +00:00
|
|
|
.product(name: "DesignSystem", package: "DesignSystem"),
|
2023-07-18 07:45:39 +00:00
|
|
|
.product(name: "SwiftUIIntrospect", package: "SwiftUI-Introspect"),
|
2023-02-22 17:56:37 +00:00
|
|
|
.product(name: "Bodega", package: "Bodega"),
|
2023-09-15 10:46:15 +00:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2023-09-16 12:15:03 +00:00
|
|
|
.enableExperimentalFeature("StrictConcurrency"),
|
2023-01-17 10:36:01 +00:00
|
|
|
]
|
|
|
|
),
|
2022-11-21 08:31:32 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "TimelineTests",
|
2023-01-17 10:36:01 +00:00
|
|
|
dependencies: ["Timeline"]
|
|
|
|
),
|
2022-11-21 08:31:32 +00:00
|
|
|
]
|
|
|
|
)
|