Skip to content

Latest commit

 

History

History
42 lines (42 loc) · 1.19 KB

README.md

File metadata and controls

42 lines (42 loc) · 1.19 KB
 __                     __ __ __           __ __   ______ 
|  |.--.--.---.-.______|  |__|  |--.-----.|__|  |_|__    |
|  ||  |  |  _  |______|  |  |  _  |  _  ||  |   _|    __|
|__||_____|___._|      |__|__|_____|___  ||__|____|______|
                                   |_____|                                   
lua bindings to libgit2

Maintained by Francesco La Camera <fm@lacamera.org>, entirely ISC

Dependencies

lua-libgit2 needs lua==5.3 and libgit2.

Installation

Luarocks

(root) luarocks make

From source

# OpenBSD
(root) pkg_add lua-5.3 git
export LIBRARY_PATH=/usr/local/lib
# Debian/Ubuntu
(root) apt install make cmake lua5.3 liblua5.3-dev libgit2-dev
mkdir build && cd build
cmake ..
(root) make install

Documentation

Consult apropros lua-libgit2 and inspect the source code if necessary.

Hierarchy

- src/                  lua_*.{c,h} and wrapper.c
- Findlibgit2.cmake     cmake: libgit2 "find" script (cmake needs this)
- CMakeLists.txt        cmake co-routines
- lua-libgit2.rockspec  (wip) (luarocks pkgconf)
- README.md             markdown formatted README

Originally inspired by luagit2.