Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,16 @@ To install Turf using the [Swift Package Manager](https://swift.org/package-mana
```swift
.package(url: "https://github.com/mapbox/turf-swift.git", from: "4.0.0")
```
Next, add the product to the target's dependencies. For example, for an executable linux app you need to add:

```swift
.executableTarget(name: "App",
dependencies: [
.product(name: "Turf", package: "turf-swift") // Add this
],
path: "Sources/App"
)
```
Then `import Turf` in any Swift file in your module.


Expand Down