2022-11-21 08:31:32 +00: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: "Timeline",
|
|
|
|
platforms: [
|
|
|
|
.iOS(.v16),
|
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Timeline",
|
|
|
|
targets: ["Timeline"]),
|
|
|
|
],
|
|
|
|
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"),
|
2022-12-18 19:30:19 +00:00
|
|
|
.package(name: "Status", path: "../Status"),
|
2022-12-17 12:37:46 +00:00
|
|
|
.package(url: "https://github.com/markiv/SwiftUI-Shimmer", exact: "1.1.0")
|
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"),
|
2022-12-18 19:30:19 +00:00
|
|
|
.product(name: "Status", package: "Status"),
|
2022-12-17 12:37:46 +00:00
|
|
|
.product(name: "Shimmer", package: "SwiftUI-Shimmer")
|
2022-11-21 08:31:32 +00:00
|
|
|
]),
|
|
|
|
.testTarget(
|
|
|
|
name: "TimelineTests",
|
|
|
|
dependencies: ["Timeline"]),
|
|
|
|
]
|
|
|
|
)
|
2022-12-18 19:30:19 +00:00
|
|
|
|