We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b486179 commit c578ff6Copy full SHA for c578ff6
README.md
@@ -33,9 +33,31 @@ The algorithms are documented in
33
Add the following to your `Package.swift` file:
34
35
```swift
36
-dependencies: [
37
- .package(url: "https://github.com/scottrhoyt/geographiclib-swift.git", from: "0.1.0")
38
-]
+import PackageDescription
+
+let package = Package(
39
+ name: "MyPackage",
40
41
+ /* ... */
42
43
+ dependencies: [
44
+ .package(url: "https://github.com/scottrhoyt/geographiclib-swift.git", from: "0.1.0"),
45
+ ],
46
47
48
49
+ targets: [
50
+ .target(
51
52
53
+ .product(name: "GeographicLib", package: "geographiclib-swift")
54
+ ]
55
+ )
56
57
58
59
60
+)
61
```
62
63
## Usage
0 commit comments