summaryrefslogtreecommitdiff
path: root/README.md
blob: 12429d17db324106b31c86eb32dbe118d12f1642 (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
27
28
luagit2
=======

LibGit2 bindings for Lua.

Installing
----------

### Install lua-git2:

curl -O "https://github.com/Neopallium/luagit2/raw/master/lua-git2-scm-0.rockspec"

luarocks install 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.