|
1 | | -We support SwiftPM: |
| 1 | +We support [SwiftPM]: |
2 | 2 |
|
3 | 3 | ```swift |
4 | 4 | package.dependencies.append( |
5 | | - .package(url: "https://github.com/mxcl/PromiseKit", from: "7.0.0-alpha.1") |
| 5 | + .package(url: "https://github.com/mxcl/PromiseKit", from: "7.0.0-rc1") |
6 | 6 | ) |
7 | 7 |
|
8 | 8 | package.targets.append( |
9 | | - .target(name: "MyTarget", dependencies: ["PromiseKit", "PMKFoundation"]) |
| 9 | + .target(name: "…", dependencies: [ |
| 10 | + .product(name: "PromiseKit", package: "PromiseKit"), |
| 11 | + .product(name: "PMKFoundation", package: "PromiseKit"), |
| 12 | + .product(name: "PMKMapKit", package: "PromiseKit"), |
| 13 | + ]) |
10 | 14 | ) |
11 | 15 | ``` |
12 | 16 |
|
13 | | -Or CocoaPods: |
| 17 | +And CocoaPods: |
14 | 18 |
|
15 | 19 | ```ruby |
16 | | -pod "PromiseKit", "~> 6.8" |
17 | | -pod "PromiseKit/Foundation", "~> 6.8" |
| 20 | +pod "PromiseKit", "~> 7.0.0-rc1" |
| 21 | +pod "PromiseKit/Foundation", "~> 7.0.0-rc1" |
| 22 | +pod "PromiseKit/MapKit", "~> 7.0.0-rc1" |
18 | 23 | ``` |
19 | 24 |
|
20 | 25 | ## Carthage |
21 | 26 |
|
22 | | -We will support Carthage if you can PR an automated solution for generating the `.xcodeproj` on release. |
23 | | -It will need to support all our extensions. |
| 27 | +We will support [Carthage] if you can PR an automated solution for generating |
| 28 | +the `.xcodeproj` on release. It will need to support all our extensions. |
| 29 | + |
| 30 | + |
| 31 | +[SwiftPM]: https://swift.org/package-manager |
| 32 | +[CocoaPods]: https://cocoapods.org |
| 33 | +[Carthage]: https://github.com/Carthage/Carthage |
0 commit comments