Skip to content

drkibitz/swift-CGit2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

swift-CGit2

libgit2 module for swift.

This uses the pkg-config to find the libgit2 installation on the current development system.

Note: This package still assumes the libgit2 prefix is /usr/local with an absolute include path in the modulemap. Not sure what Swift Package Manager of the 3.1 tools is doing with pkg-config for include paths like it said it would. Right now, it definitely fails to handle just a simple "git2.h" in the modulemap, which the linking seems to work fine with pkg-config.

macOS

Can be installed via Homebrew with the following:

$ brew install libgit2

Ubuntu

Can be installed via APT with the following:

$ sudo apt-get install libgit2