Skip to content

Commit 5741957

Browse files
Improve readme
1 parent b71b717 commit 5741957

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
# Clibgit2 – Swift Package for libgit2
22

3-
This is a Swift package for linking to the [libgit2](https://libgit2.org) library.
4-
macOS is currently the only supported platform given the build configuration in the package manifest.
5-
6-
This package does not provide any Swift API overlay and instead just offers access to the C API.
3+
This Swift package provides access to the libgit2 C API without any Swift API overlay.
74

85
## Usage
96

107
Include this package as a dependency like so:
118

129
```swift
1310
let package = Package(
14-
// ...
15-
platforms: [
16-
.macOS(.v11),
17-
],
1811
// ...
1912
dependencies: [
2013
.package(url: "https://github.com/Formkunft/Clibgit2", from: "1.9.0"),
2114
],
22-
// ...
15+
targets: [
16+
.target(
17+
// ...
18+
dependencies: [
19+
"Clibgit2",
20+
]),
21+
]
2322
)
2423
```
2524

0 commit comments

Comments
 (0)