Lua bindings for libgit2
C Lua CMake
Latest commit e66a6a9 Jan 23, 2017 @Neopallium Neopallium Add copyright file.
Permalink
Failed to load latest commit information.
cmake
docs
src Update pre-genereated bindings. Jun 13, 2012
tests Test reference counting of custom backends. May 25, 2012
.gitignore Added note about requiring LuaNativeObjects and a link to it. Jan 7, 2011
CMakeLists.txt Fix linking with libgit2 in non-system lib folder. Jun 15, 2012
COPYRIGHT Add copyright file. Jan 23, 2017
README.md Add link to API docs. Jun 20, 2012
git2.nobj.lua
lua-git2-scm-0.rockspec Add include/lib path for libgit2. May 24, 2012
utils.lua Updated pre-generated bindings. Jan 9, 2011

README.md

luagit2

LibGit2 bindings for Lua. API Docs

libgit2 version

Currently supports version v0.17.0

Installing

Install lua-git2:

luarocks install https://raw.github.com/libgit2/luagit2/master/lua-git2-scm-0.rockspec

To re-generating the bindings

You will need to install LuaNativeObjects and set the CMake variable USE_PRE_GENERATED_BINDINGS to FALSE. By default CMake will use the pre-generated bindings that are include in the project.

Build Dependencies

Optional dependency for re-generating Lua bindings from *.nobj.lua files:

  • LuaNativeObjects, this is the bindings generator used to convert the *.nobj.lua files into a native Lua module.