summaryrefslogtreecommitdiff
path: root/README.md
blob: eb305bed17ab18592a03907e6b9e9045fe3ea11b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
luagit2
=======

LibGit2 bindings for Lua.

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](https://github.com/Neopallium/LuaNativeObjects), this is the bindings generator used to convert the `*.nobj.lua` files into a native Lua module.