xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / Examples / DemoTCA / Package.swift
Package.swift33 lines · 994 BRaw
| 1 | // swift-tools-version: 6.0 |
| 2 | |
| 3 | import PackageDescription |
| 4 | |
| 5 | let package = Package( |
| 6 | name: "DemoTCA", |
| 7 | platforms: [ |
| 8 | .iOS(.v17), |
| 9 | .macOS(.v14), |
| 10 | ], |
| 11 | products: [ |
| 12 | .library( |
| 13 | name: "DemoTCA", |
| 14 | targets: ["DemoTCA"] |
| 15 | ), |
| 16 | ], |
| 17 | dependencies: [ |
| 18 | .package(path: "../ExampleSupport"), |
| 19 | .package(url: "https://github.com/pointfreeco/swift-composable-architecture.git", from: "1.0.0"), |
| 20 | // we don't use this but need the explicit dependency to keep the lockfile stable. |
| 21 | // TODO: remove once https://github.com/pointfreeco/combine-schedulers/issues/120 is fixed |
| 22 | .package(url: "https://github.com/OpenCombine/OpenCombine.git", from: "0.14.0"), |
| 23 | ], |
| 24 | targets: [ |
| 25 | .target( |
| 26 | name: "DemoTCA", |
| 27 | dependencies: [ |
| 28 | "ExampleSupport", |
| 29 | .product(name: "ComposableArchitecture", package: "swift-composable-architecture"), |
| 30 | ], |
| 31 | ), |
| 32 | ] |
| 33 | ) |