mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
72 lines
1.5 KiB
Swift
72 lines
1.5 KiB
Swift
// swift-tools-version:5.1
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "swift-composable-architecture",
|
|
platforms: [
|
|
.iOS(.v13),
|
|
.macOS(.v10_15),
|
|
.tvOS(.v13),
|
|
.watchOS(.v6),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "ComposableArchitecture",
|
|
targets: ["ComposableArchitecture"]
|
|
),
|
|
.library(
|
|
name: "ComposableCoreLocation",
|
|
targets: ["ComposableCoreLocation"]
|
|
),
|
|
.library(
|
|
name: "ComposableCoreMotion",
|
|
targets: ["ComposableCoreMotion"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/pointfreeco/combine-schedulers", from: "0.1.0"),
|
|
.package(url: "https://github.com/pointfreeco/swift-case-paths", from: "0.1.1"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "ComposableArchitecture",
|
|
dependencies: [
|
|
"CasePaths",
|
|
"CombineSchedulers",
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "ComposableArchitectureTests",
|
|
dependencies: [
|
|
"CombineSchedulers",
|
|
"ComposableArchitecture",
|
|
]
|
|
),
|
|
.target(
|
|
name: "ComposableCoreLocation",
|
|
dependencies: [
|
|
"ComposableArchitecture"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "ComposableCoreLocationTests",
|
|
dependencies: [
|
|
"ComposableCoreLocation"
|
|
]
|
|
),
|
|
.target(
|
|
name: "ComposableCoreMotion",
|
|
dependencies: [
|
|
"ComposableArchitecture"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "ComposableCoreMotionTests",
|
|
dependencies: [
|
|
"ComposableCoreMotion"
|
|
]
|
|
),
|
|
]
|
|
)
|