File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 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
107Include this package as a dependency like so:
118
129``` swift
1310let 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
You can’t perform that action at this time.
0 commit comments